Fix an incorrect check, add some missing newlines
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Charles Click 2024-06-17 04:05:45 -04:00
parent 38c6038892
commit 45f52cd640
Signed by: roryejinn
GPG Key ID: EDECB89DEDB998C0
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
cecho("<MediumPurple>Bashmatic - Let's Bash Some Mobs!") cecho("<MediumPurple>Bashmatic - Let's Bash Some Mobs!\n")
cecho("<slate_grey>---------------------------------") cecho("<slate_grey>---------------------------------\n")
cecho("<DarkSlateBlue>See bm help for information on configuration.") cecho("<DarkSlateBlue>See bm help for information on configuration.\n")
cecho("<DarkSlateBlue>") cecho("<DarkSlateBlue>\n")
cecho("<MediumPurple>\nBattle Commands:") cecho("<MediumPurple>\nBattle Commands:")
if Bashmatic.commands.start then if Bashmatic.commands.start then
cecho("\n<DarkSlateBlue>-- Start : " .. Bashmatic.commands.start) cecho("\n<DarkSlateBlue>-- Start : " .. Bashmatic.commands.start)

View File

@ -1,6 +1,6 @@
Bashmatic.enabled = not Bashmatic.enabled Bashmatic.enabled = not Bashmatic.enabled
if Bashmatic.enabled and table.size(Bashmatic.hunting.events) == 0 and table.size(Bashmatic.enemies.targets) > 1 then if Bashmatic.enabled and table.size(Bashmatic.hunting.events) == 0 and table.size(Bashmatic.enemies.targets) > 0 then
-- we just turned ourself on, we have targets, and no triggers are running -- we just turned ourself on, we have targets, and no triggers are running
recreateTriggers() recreateTriggers()
cecho("<DarkSlateBlue>Bashmatic: Bashmatic turned on. Let's go bash some mobs.<reset>") cecho("<DarkSlateBlue>Bashmatic: Bashmatic turned on. Let's go bash some mobs.<reset>")