diff options
author | Thomas Rudin <thomas@rudin.io> | 2018-10-03 09:07:42 +0200 |
---|---|---|
committer | Thomas Rudin <thomas@rudin.io> | 2018-10-03 09:07:42 +0200 |
commit | 1c40830ddf62aca507a16e8f4802365ceb17b1c5 (patch) | |
tree | a55fbd7ef62f7d5a5837aae6dfca508dd40a6131 | |
parent | 5586b9d1c4598903a08f9b633fdc9543a15f23ce (diff) | |
download | display_modpack-1c40830ddf62aca507a16e8f4802365ceb17b1c5.tar.gz display_modpack-1c40830ddf62aca507a16e8f4802365ceb17b1c5.tar.bz2 display_modpack-1c40830ddf62aca507a16e8f4802365ceb17b1c5.zip |
fix infinite stack of steles
-rw-r--r-- | steles/nodes.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/steles/nodes.lua b/steles/nodes.lua index 9fb65dd..9b23b8d 100644 --- a/steles/nodes.lua +++ b/steles/nodes.lua @@ -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) |