Fixed casing of partChanged, and directionTo

This commit is contained in:
AlgorithmX2
2014-02-26 09:17:39 -06:00
parent 9161ad0c13
commit ef729e7365
5 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -423,7 +423,7 @@ public class CableBusPart extends JCuboidPart implements JNormalOcclusion, IReds
} }
@Override @Override
public void PartChanged() public void partChanged()
{ {
// nothing! // nothing!
} }
+5 -5
View File
@@ -111,7 +111,7 @@ public class CableBusContainer implements AEMultiTile, ICableBusContainer
updateDynamicRender(); updateDynamicRender();
updateConnections(); updateConnections();
markForUpdate(); markForUpdate();
PartChanged(); partChanged();
} }
} }
@@ -237,7 +237,7 @@ public class CableBusContainer implements AEMultiTile, ICableBusContainer
updateConnections(); updateConnections();
markForUpdate(); markForUpdate();
PartChanged(); partChanged();
return ForgeDirection.UNKNOWN; return ForgeDirection.UNKNOWN;
} }
else if ( !(bp instanceof IPartCable) && side != ForgeDirection.UNKNOWN ) else if ( !(bp instanceof IPartCable) && side != ForgeDirection.UNKNOWN )
@@ -280,7 +280,7 @@ public class CableBusContainer implements AEMultiTile, ICableBusContainer
updateDynamicRender(); updateDynamicRender();
updateConnections(); updateConnections();
markForUpdate(); markForUpdate();
PartChanged(); partChanged();
return side; return side;
} }
} }
@@ -854,7 +854,7 @@ public class CableBusContainer implements AEMultiTile, ICableBusContainer
} }
@Override @Override
public void PartChanged() public void partChanged()
{ {
if ( center == null ) if ( center == null )
{ {
@@ -877,7 +877,7 @@ public class CableBusContainer implements AEMultiTile, ICableBusContainer
} }
} }
tcb.PartChanged(); tcb.partChanged();
} }
@Override @Override
+1 -1
View File
@@ -96,7 +96,7 @@ public class PartP2PIC2Power extends PartP2PTunnel<PartP2PIC2Power> implements i
@Override @Override
public void onChange() public void onChange()
{ {
getHost().PartChanged(); getHost().partChanged();
} }
public float getPowerDrainPerTick() public float getPowerDrainPerTick()
+4 -4
View File
@@ -161,7 +161,7 @@ public class PartP2PItems extends PartP2PTunnel<PartP2PItems> implements IPipeCo
oldSize = getDest().getSizeInventory(); oldSize = getDest().getSizeInventory();
if ( olderSize != oldSize ) if ( olderSize != oldSize )
{ {
getHost().PartChanged(); getHost().partChanged();
tile.getWorldObj().notifyBlocksOfNeighborChange( tile.xCoord, tile.yCoord, tile.zCoord, Platform.air ); tile.getWorldObj().notifyBlocksOfNeighborChange( tile.xCoord, tile.yCoord, tile.zCoord, Platform.air );
} }
} }
@@ -177,7 +177,7 @@ public class PartP2PItems extends PartP2PTunnel<PartP2PItems> implements IPipeCo
oldSize = getDest().getSizeInventory(); oldSize = getDest().getSizeInventory();
if ( olderSize != oldSize ) if ( olderSize != oldSize )
{ {
getHost().PartChanged(); getHost().partChanged();
tile.getWorldObj().notifyBlocksOfNeighborChange( tile.xCoord, tile.yCoord, tile.zCoord, Platform.air ); tile.getWorldObj().notifyBlocksOfNeighborChange( tile.xCoord, tile.yCoord, tile.zCoord, Platform.air );
} }
} }
@@ -193,7 +193,7 @@ public class PartP2PItems extends PartP2PTunnel<PartP2PItems> implements IPipeCo
oldSize = getDest().getSizeInventory(); oldSize = getDest().getSizeInventory();
if ( olderSize != oldSize ) if ( olderSize != oldSize )
{ {
getHost().PartChanged(); getHost().partChanged();
tile.getWorldObj().notifyBlocksOfNeighborChange( tile.xCoord, tile.yCoord, tile.zCoord, Platform.air ); tile.getWorldObj().notifyBlocksOfNeighborChange( tile.xCoord, tile.yCoord, tile.zCoord, Platform.air );
} }
} }
@@ -209,7 +209,7 @@ public class PartP2PItems extends PartP2PTunnel<PartP2PItems> implements IPipeCo
oldSize = getDest().getSizeInventory(); oldSize = getDest().getSizeInventory();
if ( olderSize != oldSize ) if ( olderSize != oldSize )
{ {
getHost().PartChanged(); getHost().partChanged();
tile.getWorldObj().notifyBlocksOfNeighborChange( tile.xCoord, tile.yCoord, tile.zCoord, Platform.air ); tile.getWorldObj().notifyBlocksOfNeighborChange( tile.xCoord, tile.yCoord, tile.zCoord, Platform.air );
} }
} }
+1 -1
View File
@@ -246,7 +246,7 @@ public class TileCableBus extends AEBaseTile implements AEMultiTile, ICustomColl
} }
@Override @Override
public void PartChanged() public void partChanged()
{ {
// nothing! // nothing!
} }