Always just knock the player off the teleport.

This commit is contained in:
Auke Kok 2019-01-18 22:13:22 -08:00
parent 8447ab9d2a
commit 01b5b690df

View File

@ -221,7 +221,7 @@ register_teleport("boxes:enter_teleport", {
end
boxes.open_box(player, {0, tonumber(catbox), 1})
return
return true
end
end
@ -230,7 +230,7 @@ register_teleport("boxes:enter_teleport", {
minetest.chat_send_player(name, "You've completed every " ..
"box in this category! Come back later to see if " ..
"there are new boxes in it.")
return
return true
end
local bmeta = db.box_get_meta(id)
if bmeta.type ~= db.BOX_TYPE then