mirror of
https://github.com/pyrollo/display_modpack.git
synced 2024-11-23 23:03:44 +01:00
fix infinite stack of steles
This commit is contained in:
parent
5586b9d1c4
commit
1c40830ddf
@ -59,7 +59,7 @@ for i, material in ipairs(steles.materials) do
|
|||||||
},
|
},
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
minetest.rotate_node(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,
|
end,
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
|
Loading…
Reference in New Issue
Block a user