Re-added support for OpenComputers, fixes #1423
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/*package com.raoulvdberge.refinedstorage.integration.oc;
|
||||
package com.raoulvdberge.refinedstorage.integration.oc;
|
||||
|
||||
import com.raoulvdberge.refinedstorage.api.autocrafting.ICraftingPattern;
|
||||
import li.cil.oc.api.driver.Converter;
|
||||
@@ -17,4 +17,3 @@ public class ConverterCraftingPattern implements Converter {
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/*package com.raoulvdberge.refinedstorage.integration.oc;
|
||||
package com.raoulvdberge.refinedstorage.integration.oc;
|
||||
|
||||
import com.raoulvdberge.refinedstorage.api.autocrafting.task.ICraftingTask;
|
||||
import li.cil.oc.api.driver.Converter;
|
||||
@@ -17,4 +17,4 @@ public class ConverterCraftingTask implements Converter {
|
||||
output.put("quantity", task.getQuantity());
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*package com.raoulvdberge.refinedstorage.integration.oc;
|
||||
package com.raoulvdberge.refinedstorage.integration.oc;
|
||||
|
||||
import com.raoulvdberge.refinedstorage.proxy.CapabilityNetworkNodeProxy;
|
||||
import com.raoulvdberge.refinedstorage.capability.CapabilityNetworkNodeProxy;
|
||||
import li.cil.oc.api.Driver;
|
||||
import li.cil.oc.api.driver.DriverBlock;
|
||||
import li.cil.oc.api.network.ManagedEnvironment;
|
||||
@@ -28,4 +28,4 @@ public class DriverNetwork implements DriverBlock {
|
||||
Driver.add(new ConverterCraftingPattern());
|
||||
Driver.add(new ConverterCraftingTask());
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/*package com.raoulvdberge.refinedstorage.integration.oc;
|
||||
package com.raoulvdberge.refinedstorage.integration.oc;
|
||||
|
||||
import com.raoulvdberge.refinedstorage.api.autocrafting.ICraftingPattern;
|
||||
import com.raoulvdberge.refinedstorage.api.autocrafting.task.ICraftingTask;
|
||||
@@ -312,4 +312,4 @@ public class EnvironmentNetwork extends AbstractManagedEnvironment {
|
||||
|
||||
return new Object[]{node.getNetwork().getItemStorageCache().getList().getStacks()};
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
@@ -24,6 +24,8 @@ import com.raoulvdberge.refinedstorage.capability.CapabilityNetworkNodeProxy;
|
||||
import com.raoulvdberge.refinedstorage.gui.GuiHandler;
|
||||
import com.raoulvdberge.refinedstorage.integration.craftingtweaks.IntegrationCraftingTweaks;
|
||||
import com.raoulvdberge.refinedstorage.integration.forgeenergy.ReaderWriterHandlerForgeEnergy;
|
||||
import com.raoulvdberge.refinedstorage.integration.oc.DriverNetwork;
|
||||
import com.raoulvdberge.refinedstorage.integration.oc.IntegrationOC;
|
||||
import com.raoulvdberge.refinedstorage.network.*;
|
||||
import com.raoulvdberge.refinedstorage.tile.*;
|
||||
import com.raoulvdberge.refinedstorage.tile.craftingmonitor.TileCraftingMonitor;
|
||||
@@ -243,9 +245,9 @@ public class ProxyCommon {
|
||||
|
||||
SoldererRecipeLoader.load();
|
||||
|
||||
/*if (IntegrationOC.isLoaded()) {
|
||||
if (IntegrationOC.isLoaded()) {
|
||||
DriverNetwork.register();
|
||||
}*/
|
||||
}
|
||||
|
||||
if (IntegrationCraftingTweaks.isLoaded()) {
|
||||
IntegrationCraftingTweaks.register();
|
||||
|
||||
Reference in New Issue
Block a user