From: ShadowNinja Date: Wed, 27 Nov 2013 22:24:01 +0000 (-0500) Subject: Drop full rubber tree nodes X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=163457ed9a6103642376c3707f168e9804c7583a;p=zefram%2Fminetest%2Ftechnic.git Drop full rubber tree nodes --- 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", {