#392 Fix crash when two transceivers stacked on each other and setup to loop.

Fixed localization issue.
This commit is contained in:
CrazyPants committed 2014-01-14 21:08:56 +08:00
1 parent d92c49e147
commit 90b70be679
2 files changed
+2 -2

No files matched your search

@@ -204,7 +204,7 @@ public class GuiHyperCube extends GuiScreenBase {
} else {
itemB.setIcon(IconEIO.WRENCH_OVERLAY_ITEM_OFF);
}
itemB.setToolTip(Lang.localize("gui.trans.fluidMode"), mode.getLocalisedName());
itemB.setToolTip(Lang.localize("gui.trans.itemMode"), mode.getLocalisedName());
}
private boolean isPublic(Channel chan) {
@@ -640,7 +640,7 @@ public class TileHyperCube extends TileEntity implements IInternalPowerReceptor,
for (ForgeDirection dir : ForgeDirection.VALID_DIRECTIONS) {
BlockCoord checkLoc = myLoc.getLocation(dir);
TileEntity te = worldObj.getBlockTileEntity(checkLoc.x, checkLoc.y, checkLoc.z);
if(te instanceof IFluidHandler) {
if(te instanceof IFluidHandler && !(te instanceof TileHyperCube)) {
IFluidHandler fh = (IFluidHandler) te;
fluidHandlers.add(new NetworkFluidHandler(this, fh, dir));
}