sethome checks for can_teleport
This commit is contained in:
parent
5c9f05dfe6
commit
270f73f581
@ -3,7 +3,7 @@
|
||||
|
||||
local can_set_home = function(name, pos)
|
||||
-- check travel limit
|
||||
return not minetest.is_protected(pos, name) and pandorabox.can_travel(minetest.get_player_by_name(name), pos)
|
||||
return not minetest.is_protected(pos, name) and pandorabox.can_teleport(minetest.get_player_by_name(name), pos)
|
||||
end
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user