Fixed crash with cables.
This commit is contained in:
parent
b82f79dc04
commit
f5d58b57eb
1 changed files with 1 additions and 1 deletions
|
@ -56,6 +56,7 @@ public class CablePart extends ModPart implements IEnergyConductor {
|
|||
entityCable.changeType((short) type);
|
||||
}
|
||||
refreshBounding();
|
||||
connectedSides = new HashMap<ForgeDirection, TileEntity>();
|
||||
}
|
||||
|
||||
public void refreshBounding() {
|
||||
|
@ -122,7 +123,6 @@ public class CablePart extends ModPart implements IEnergyConductor {
|
|||
|
||||
@Override
|
||||
public List<Vecs3dCube> getOcclusionBoxes() {
|
||||
checkConnectedSides();
|
||||
List<Vecs3dCube> vecs3dCubesList = new ArrayList<Vecs3dCube>();
|
||||
|
||||
for (ForgeDirection dir : ForgeDirection.VALID_DIRECTIONS) {
|
||||
|
|
Loading…
Reference in a new issue