Skip to content

Commit

Permalink
Fix (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
reobf authored Feb 7, 2025
1 parent 1139951 commit f652885
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/remoteio/common/tile/TileRemoteInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ public void invalidate() {

RedstoneTracker.unregister(this);
BlockTracker.INSTANCE.stopTracking(remotePosition);
super.invalidate();
}

@Override
Expand Down Expand Up @@ -418,7 +419,7 @@ && hasTransferChip(TransferType.NETWORK_AE)) {

for (ForgeDirection forgeDirection : ForgeDirection.VALID_DIRECTIONS) {
TileEntity tileEntity = worldObj.getTileEntity(
xCoord + forgeDirection.offsetZ,
xCoord + forgeDirection.offsetX,
yCoord + forgeDirection.offsetY,
zCoord + forgeDirection.offsetZ);
if (tileEntity != null && tileEntity instanceof IGridHost) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public void onChunkUnload() {
@Override
public void invalidate() {
IC2Helper.unloadEnergyTile(this);
super.invalidate();
}

/* CHIP METHODS */
Expand Down

0 comments on commit f652885

Please sign in to comment.