mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-22 15:23:43 +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]
|
# 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)
|
## V2.02.03 (2019-02-27)
|
||||||
|
|
||||||
### Additions
|
### Additions
|
||||||
|
@ -55,9 +55,9 @@ local State = tubelib.NodeStates:new({
|
|||||||
})
|
})
|
||||||
|
|
||||||
local function is_leaves(name)
|
local function is_leaves(name)
|
||||||
return tubelib_addons1.FarmingNodes[name] ~= nil and
|
return (tubelib_addons1.FarmingNodes[name] ~= nil and
|
||||||
(tubelib_addons1.FarmingNodes[name].leaves == true or
|
tubelib_addons1.FarmingNodes[name].leaves == true) or
|
||||||
minetest.get_node_group(name, "leaves") > 0)
|
minetest.get_item_group(name, "leaves") > 0
|
||||||
end
|
end
|
||||||
|
|
||||||
local function allow_metadata_inventory_put(pos, listname, index, stack, player)
|
local function allow_metadata_inventory_put(pos, listname, index, stack, player)
|
||||||
|
Loading…
Reference in New Issue
Block a user