Open computer adaptor does not connect to or read Flux Networks blocks.
3x1at1on opened this issue ยท 4 comments
Open computers adaptor does not connect to or read the flux network blocks (tried every flux network block next to it) in the latest release for 1.12.2 version 4.0.14-31.
I checked the code (not a coder by any means) but it sound like the code added for open computer compatibility in 4.0.13 is not there any more (at least not with what I forked today):
src/main/java/fluxnetworks/common/handler/TileEntityHandler.java
import fluxnetworks.common.CommonProxy;
import li.cil.oc.api.internal.Adapter;
public static boolean canRenderConnection(TileEntity tile, EnumFacing side) {
/*if(FluxNetworks.proxy.ocLoaded) {
if(tile instanceof Adapter) {
return true;
}
}*/
I tried compiling the code with the above but it didn't work but when I changed it to what's below, it seems to compile properly:
import li.cil.oc.api.internal.Adapter;
public static boolean canRenderConnection(TileEntity tile, EnumFacing side) {
if(tile instanceof Adapter) {
return true;
}
Honestly I have no idea what would that be and how on earth this works but I thought I should report this at least and hoping you can be kind enough to fix this.
I don't think flux should render connection to a adaptor, so I commented these lines, and they were deleted later by Ollie
Thanks for the reply buddy. Still no idea why the Adaptor cannot read the energy stored in the flux network. Is that unfixable?
It can, here