Merge pull request #12 from OgelGames/master

Fix hopper compatibility
This commit is contained in:
Lukas Reichlin 2020-12-28 23:23:30 +01:00 committed by GitHub
commit 65f6bbf2c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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