fix infinite stack of steles

This commit is contained in:
Thomas Rudin 2018-10-03 09:07:42 +02:00
parent 5586b9d1c4
commit 1c40830ddf
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ for i, material in ipairs(steles.materials) do
},
on_place = function(itemstack, placer, pointed_thing)
minetest.rotate_node(itemstack, placer, pointed_thing)
display_api.on_place(itemstack, placer, pointed_thing)
return display_api.on_place(itemstack, placer, pointed_thing)
end,
on_construct = function(pos)
local meta = minetest.get_meta(pos)