mirror of
https://github.com/joe7575/techpack.git
synced 2024-12-25 23:17:36 +01:00
v2.02.04 Fermenter leaves bugfix
This commit is contained in:
parent
03412c7849
commit
629764f8dd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user