mirror of
https://github.com/redstrate/Kawari.git
synced 2025-06-30 11:47:45 +00:00
Reduce the amount of unlocks to what's actually possible
This stops the !unlock all debug command from crashing the server. There's only 511 possible unlocks in the game, I guess.
This commit is contained in:
parent
74f32121ef
commit
02b8e92d6b
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ function onCommand(args, player)
|
||||||
end
|
end
|
||||||
|
|
||||||
if parts[1] == "all" then
|
if parts[1] == "all" then
|
||||||
for i = 0, 1000, 1 do
|
for i = 0, 511, 1 do
|
||||||
player:unlock(i)
|
player:unlock(i)
|
||||||
end
|
end
|
||||||
printf(player, "Everything is unlocked!", id)
|
printf(player, "Everything is unlocked!", id)
|
||||||
|
|
Loading…
Add table
Reference in a new issue