This commit is contained in:
Aaron Suen 2024-08-17 22:37:42 -04:00
parent 8c2d3f32ae
commit 1ccad0ca3c

View File

@ -242,7 +242,7 @@ if purge then
minetest.remove_player(k)
minetest.remove_player_auth(k)
end
set[k] = cache[k] - 1
set[k] = v - 1
end
for k, v in pairs(set) do cache[k] = v ~= 0 and v or nil end
save()