v2.02.04 Fermenter leaves bugfix

This commit is contained in:
Joachim Stolberg 2019-03-02 10:15:57 +01:00
parent 03412c7849
commit 629764f8dd
2 changed files with 16 additions and 3 deletions

@ -1,6 +1,19 @@
# Release Notes for ModPack TechPack [techpack]
## V2.02.04 (2019-03-02)
### Additions
### Removals
### Changes
### Fixes
- Fermenter leaves bugfix (moretrees)
## V2.02.03 (2019-02-27)
### Additions

@ -55,9 +55,9 @@ local State = tubelib.NodeStates:new({
})
local function is_leaves(name)
return tubelib_addons1.FarmingNodes[name] ~= nil and
(tubelib_addons1.FarmingNodes[name].leaves == true or
minetest.get_node_group(name, "leaves") > 0)
return (tubelib_addons1.FarmingNodes[name] ~= nil and
tubelib_addons1.FarmingNodes[name].leaves == true) or
minetest.get_item_group(name, "leaves") > 0
end
local function allow_metadata_inventory_put(pos, listname, index, stack, player)