From db0bdd511cf6e62f057f79e245d247d2fa36cf9a Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Fri, 27 Jun 2025 23:59:09 -0400 Subject: [PATCH] Fix the !unlockaetheryte command not working as expected --- resources/scripts/commands/debug/UnlockAetheryte.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/scripts/commands/debug/UnlockAetheryte.lua b/resources/scripts/commands/debug/UnlockAetheryte.lua index 75af3b8..5a72280 100644 --- a/resources/scripts/commands/debug/UnlockAetheryte.lua +++ b/resources/scripts/commands/debug/UnlockAetheryte.lua @@ -14,9 +14,9 @@ function onCommand(args, player) local on = parts[1] if on == "on" then - on = 0 - elseif on == "off" then on = 1 + elseif on == "off" then + on = 0 else printf(player, "Error parsing first parameter. Must be either of the words: 'on' or 'off'."..usage) return