From 45f52cd640d4ac38c3f34bcb36ec3649c4c9d10d Mon Sep 17 00:00:00 2001 From: ccubed Date: Mon, 17 Jun 2024 04:05:45 -0400 Subject: [PATCH] Fix an incorrect check, add some missing newlines --- src/aliases/bashmatic/BM_Config.lua | 8 ++++---- src/aliases/bashmatic/BM_Toggle.lua | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/aliases/bashmatic/BM_Config.lua b/src/aliases/bashmatic/BM_Config.lua index ddaba3b..cdd2d75 100644 --- a/src/aliases/bashmatic/BM_Config.lua +++ b/src/aliases/bashmatic/BM_Config.lua @@ -1,7 +1,7 @@ -cecho("Bashmatic - Let's Bash Some Mobs!") -cecho("---------------------------------") -cecho("See bm help for information on configuration.") -cecho("") +cecho("Bashmatic - Let's Bash Some Mobs!\n") +cecho("---------------------------------\n") +cecho("See bm help for information on configuration.\n") +cecho("\n") cecho("\nBattle Commands:") if Bashmatic.commands.start then cecho("\n-- Start : " .. Bashmatic.commands.start) diff --git a/src/aliases/bashmatic/BM_Toggle.lua b/src/aliases/bashmatic/BM_Toggle.lua index df94b7a..b95f194 100644 --- a/src/aliases/bashmatic/BM_Toggle.lua +++ b/src/aliases/bashmatic/BM_Toggle.lua @@ -1,6 +1,6 @@ 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 recreateTriggers() cecho("Bashmatic: Bashmatic turned on. Let's go bash some mobs.")