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