mirror of
https://github.com/Lokrates/Biofuel.git
synced 2024-07-04 14:25: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")
|
||||
|
||||
-- hopper compat
|
||||
hopper:add_container({
|
||||
{"top", "biofuel:refinery", "dst"},
|
||||
{"bottom", "biofuel:refinery", "src"},
|
||||
{"side", "biofuel:refinery", "src"},
|
||||
{"top", "biofuel:refinery_active", "dst"},
|
||||
{"bottom", "biofuel:refinery_active", "src"},
|
||||
{"side", "biofuel:refinery_active", "src"},
|
||||
})
|
||||
if minetest.get_modpath("hopper") then
|
||||
hopper:add_container({
|
||||
{"top", "biofuel:refinery", "dst"},
|
||||
{"bottom", "biofuel:refinery", "src"},
|
||||
{"side", "biofuel:refinery", "src"},
|
||||
{"top", "biofuel:refinery_active", "dst"},
|
||||
{"bottom", "biofuel:refinery_active", "src"},
|
||||
{"side", "biofuel:refinery_active", "src"},
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
-- pipeworks compat
|
||||
|
Loading…
Reference in New Issue
Block a user