Fixed a bug where RF and IC2 tunnels could vaporize them selves.
Fixed Bug: #0514 - An unknown error occurs frequently
This commit is contained in:
@@ -64,6 +64,12 @@ public class CableBusContainer implements AEMultiTile, ICableBusContainer
|
||||
boolean inWorld = false;
|
||||
public boolean requiresDynamicRender = false;
|
||||
|
||||
@Override
|
||||
public boolean isInWorld()
|
||||
{
|
||||
return inWorld;
|
||||
}
|
||||
|
||||
public void setHost(IPartHost host)
|
||||
{
|
||||
tcb.clearContainer();
|
||||
@@ -364,12 +370,15 @@ public class CableBusContainer implements AEMultiTile, ICableBusContainer
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
partChanged();
|
||||
}
|
||||
|
||||
public void removeFromWorld()
|
||||
{
|
||||
if ( !inWorld )
|
||||
return;
|
||||
|
||||
inWorld = false;
|
||||
|
||||
for (ForgeDirection s : ForgeDirection.values())
|
||||
@@ -378,6 +387,8 @@ public class CableBusContainer implements AEMultiTile, ICableBusContainer
|
||||
if ( part != null )
|
||||
part.removeFromWorld();
|
||||
}
|
||||
|
||||
partChanged();
|
||||
}
|
||||
|
||||
public boolean canConnectRedstone(EnumSet<ForgeDirection> enumSet)
|
||||
@@ -1014,4 +1025,10 @@ public class CableBusContainer implements AEMultiTile, ICableBusContainer
|
||||
tcb.cleanup();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void notifyNeighbors()
|
||||
{
|
||||
tcb.notifyNeighbors();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user