From 163457ed9a6103642376c3707f168e9804c7583a Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Wed, 27 Nov 2013 17:24:01 -0500 Subject: [PATCH] Drop full rubber tree nodes --- technic_worldgen/rubber.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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", { -- 2.30.2