Fix group detection, remove unnecessary setting to empty bucket
This commit is contained in:
parent
a1cbc91029
commit
00a34b173a
@ -254,8 +254,6 @@ minetest.register_craftitem("bucket:bucket_empty", {
|
||||
return
|
||||
end
|
||||
|
||||
itemstack = ItemStack("bucket:bucket_empty")
|
||||
|
||||
-- Node IO Support
|
||||
local usedef = ndef
|
||||
local defpref = "node_io_"
|
||||
|
@ -2,10 +2,10 @@
|
||||
-- Node IO System
|
||||
local nodeiodef = {
|
||||
node_io_can_put_liquid = function (pos, node, side)
|
||||
return ele.helpers.get_item_group(node.name, 'fluid_container')
|
||||
return minetest.get_item_group(node.name, 'fluid_container') > 0
|
||||
end,
|
||||
node_io_can_take_liquid = function (pos, node, side)
|
||||
return ele.helpers.get_item_group(node.name, 'fluid_container')
|
||||
return minetest.get_item_group(node.name, 'fluid_container') > 0
|
||||
end,
|
||||
-- if false, transfer node should only put and take in 1000 increments
|
||||
-- inventory nodes that don't accept milibuckets should:
|
||||
|
Loading…
Reference in New Issue
Block a user