Removing debug code now that the bug was found.
This commit is contained in:
parent
827cfc565f
commit
8447ab9d2a
@ -201,16 +201,13 @@ register_teleport("boxes:enter_teleport", {
|
||||
|
||||
return
|
||||
elseif is_series == 2 then
|
||||
print(dump(ranks))
|
||||
if not ranks or not ranks.categories then
|
||||
minetest.log("error", "ranks mod not found, can't use category teleport")
|
||||
return true
|
||||
end
|
||||
|
||||
-- get the list of boxes for category (id)
|
||||
print(dump(ranks.categories))
|
||||
local catboxes = ranks.categories[tostring(id)]
|
||||
print(dump(catboxes))
|
||||
|
||||
-- first, find first unplayed box in dynamic series
|
||||
local name = player:get_player_name()
|
||||
|
Loading…
x
Reference in New Issue
Block a user