Fix infinite recursion problem
This commit is contained in:
@@ -672,7 +672,7 @@ public class ControllerTile extends BaseTile implements ITickableTileEntity, INe
|
|||||||
return networkNodeProxyCap.cast();
|
return networkNodeProxyCap.cast();
|
||||||
}
|
}
|
||||||
|
|
||||||
return super.getCapability(cap);
|
return super.getCapability(cap, direction);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -99,6 +99,6 @@ public abstract class NetworkNodeTile<N extends NetworkNode> extends BaseTile im
|
|||||||
return networkNodeProxy.cast();
|
return networkNodeProxy.cast();
|
||||||
}
|
}
|
||||||
|
|
||||||
return super.getCapability(cap);
|
return super.getCapability(cap, direction);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -721,7 +721,7 @@ public class TilePortableGrid extends BaseTile implements IGrid, IPortableGrid,
|
|||||||
return energyStorageCap.cast();
|
return energyStorageCap.cast();
|
||||||
}
|
}
|
||||||
|
|
||||||
return super.getCapability(cap);
|
return super.getCapability(cap, direction);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onOpened() {
|
public void onOpened() {
|
||||||
|
|||||||
Reference in New Issue
Block a user