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:
parent
02b8e92d6b
commit
db0bdd511c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue