mirror of
https://github.com/mt-mods/moretrees.git
synced 2024-12-27 03:00:24 +01:00
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.
This commit is contained in:
parent
c674a237e4
commit
1e01ca8dea
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user