autocrafting improvements

This commit is contained in:
kepler155c
2017-12-13 01:38:59 -05:00
parent 73dc16703a
commit 0ce537d4ce
14 changed files with 2864 additions and 2379 deletions

View File

@@ -22,7 +22,8 @@ function RefinedAdapter:init(args)
Util.merge(self, defaults)
Util.merge(self, args)
local controller = Peripheral.getByType('refinedstorage:controller')
local controller = Peripheral.getByType('refinedstorage:controller') or
Peripheral.getByMethod('listAvailableItems')
if controller then
Util.merge(self, controller)
end