mirror of
https://github.com/Lokrates/Biofuel.git
synced 2024-07-07 07:45:14 +02:00
fix hopper compatibility
This commit is contained in:
parent
37cec9a081
commit
67155f6629
18
refinery.lua
18
refinery.lua
@ -13,14 +13,16 @@
|
|||||||
local S = minetest.get_translator("biofuel")
|
local S = minetest.get_translator("biofuel")
|
||||||
|
|
||||||
-- hopper compat
|
-- hopper compat
|
||||||
hopper:add_container({
|
if minetest.get_modpath("hopper") then
|
||||||
{"top", "biofuel:refinery", "dst"},
|
hopper:add_container({
|
||||||
{"bottom", "biofuel:refinery", "src"},
|
{"top", "biofuel:refinery", "dst"},
|
||||||
{"side", "biofuel:refinery", "src"},
|
{"bottom", "biofuel:refinery", "src"},
|
||||||
{"top", "biofuel:refinery_active", "dst"},
|
{"side", "biofuel:refinery", "src"},
|
||||||
{"bottom", "biofuel:refinery_active", "src"},
|
{"top", "biofuel:refinery_active", "dst"},
|
||||||
{"side", "biofuel:refinery_active", "src"},
|
{"bottom", "biofuel:refinery_active", "src"},
|
||||||
})
|
{"side", "biofuel:refinery_active", "src"},
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
-- pipeworks compat
|
-- pipeworks compat
|
||||||
|
Loading…
Reference in New Issue
Block a user