1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-06-30 11:47:45 +00:00

Fix the !unlockaetheryte command not working as expected

This commit is contained in:
Joshua Goins 2025-06-27 23:59:09 -04:00
parent 02b8e92d6b
commit db0bdd511c

View file

@ -14,9 +14,9 @@ function onCommand(args, player)
local on = parts[1] local on = parts[1]
if on == "on" then if on == "on" then
on = 0
elseif on == "off" then
on = 1 on = 1
elseif on == "off" then
on = 0
else else
printf(player, "Error parsing first parameter. Must be either of the words: 'on' or 'off'."..usage) printf(player, "Error parsing first parameter. Must be either of the words: 'on' or 'off'."..usage)
return return