1
Fork 0
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:
Joshua Goins 2025-06-27 23:40:19 -04:00
parent 74f32121ef
commit 02b8e92d6b

View file

@ -13,7 +13,7 @@ function onCommand(args, player)
end
if parts[1] == "all" then
for i = 0, 1000, 1 do
for i = 0, 511, 1 do
player:unlock(i)
end
printf(player, "Everything is unlocked!", id)