diff options
author | Zefram <zefram@fysh.org> | 2014-08-13 23:19:56 +0100 |
---|---|---|
committer | Zefram <zefram@fysh.org> | 2014-08-13 23:19:56 +0100 |
commit | 1e01ca8dea63105d7cadc4b2db48ba202dc10535 (patch) | |
tree | df2cb4874503dc6f1025d024a083481a7fdcc9b1 | |
parent | c674a237e4b28e27234e7c62d00d3a4bbc41b967 (diff) |
Remove failed attempt at manual placement flag
The code was failing to set the "placed" flag on empty rubber tree trunk
nodes because the after_place_node callback that does it would only be
called by the default on_place callback, which is overridden for that
node type. The code also fails to even attempt to set the flag on full
rubber tree trunk nodes. The technic mod no longer looks at this flag,
so remove the attempt to set it, rather than fix setting it.
-rw-r--r-- | node_defs.lua | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/node_defs.lua b/node_defs.lua index f56c75c..890e929 100644 --- a/node_defs.lua +++ b/node_defs.lua @@ -387,10 +387,6 @@ minetest.register_node("moretrees:rubber_tree_trunk_empty", { sounds = default.node_sound_wood_defaults(), paramtype2 = "facedir", on_place = minetest.rotate_node, - after_place_node = function(pos, placer, itemstack) - local meta = minetest.get_meta(pos) - meta:set_int("placed", 1) - end }) minetest.register_abm({ |