forked from mtcontrib/moretrees
fixed a minor drop bug in leaves, they were giving unknown items on dig.
This commit is contained in:
parent
c9e1ac370f
commit
da4bd37efb
4
init.lua
4
init.lua
@ -267,9 +267,9 @@ for color = 1, 3 do
|
|||||||
{
|
{
|
||||||
-- player will get leaves only if he get no saplings,
|
-- player will get leaves only if he get no saplings,
|
||||||
-- this is because max_items is 1
|
-- this is because max_items is 1
|
||||||
items = {leave_name},
|
items = {"jungletree:leaves_"..leaves[color]},
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}z
|
||||||
},
|
},
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user