Merge 5069a3e589
into 01ad0c80b3
This commit is contained in:
commit
767ac57f53
5
init.lua
5
init.lua
|
@ -332,6 +332,11 @@ minetest.register_node("warps:warpstone", {
|
|||
))
|
||||
warp_queue_add(puncher, destination)
|
||||
end,
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
if placer and minetest.check_player_privs(placer, "warp_admin") then
|
||||
return minetest.item_place(itemstack, placer, pointed_thing)
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
||||
firstload()
|
||||
|
|
Loading…
Reference in New Issue