summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2013-11-27 17:24:01 -0500
committerShadowNinja <shadowninja@minetest.net>2013-11-27 17:24:01 -0500
commit163457ed9a6103642376c3707f168e9804c7583a (patch)
tree9e0415254f7f515ab9cfb0855a8867117330dc14
parent05b28f553e29db491720b2763624a07da8ebbda3 (diff)
Drop full rubber tree nodes
-rw-r--r--technic_worldgen/rubber.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/technic_worldgen/rubber.lua b/technic_worldgen/rubber.lua
index 8e47849..e47ba51 100644
--- a/technic_worldgen/rubber.lua
+++ b/technic_worldgen/rubber.lua
@@ -24,8 +24,11 @@ minetest.register_node(":moretrees:rubber_tree_trunk", {
"technic_rubber_tree_full.png"},
groups = {tree=1, snappy=1, choppy=2, oddly_breakable_by_hand=1,
flammable=2},
- drop = "moretrees:rubber_tree_trunk_empty",
sounds = default.node_sound_wood_defaults(),
+ after_place_node = function(pos, placer, itemstack)
+ local meta = minetest.get_meta(pos)
+ meta:set_int("placed", 1)
+ end,
})
minetest.register_node(":moretrees:rubber_tree_trunk_empty", {