summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-01-09 23:22:02 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-01-09 23:22:02 -0500
commitda4bd37efbd30ad57a8b496142e4f4f074f63471 (patch)
tree9c26cdb41684daf6b853aa0e146e64a77bbb7fdc /init.lua
parentc9e1ac370fdfedbde0fc5f041cdaeb27dce2f1d3 (diff)
fixed a minor drop bug in leaves, they were giving unknown items on dig.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index f6ab148..4497ef1 100644
--- a/init.lua
+++ b/init.lua
@@ -267,9 +267,9 @@ for color = 1, 3 do
{
-- player will get leaves only if he get no saplings,
-- this is because max_items is 1
- items = {leave_name},
+ items = {"jungletree:leaves_"..leaves[color]},
}
- }
+ }z
},
sounds = default.node_sound_leaves_defaults(),
})