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
public void PartChanged()
public void partChanged()
{
// nothing!
}
+5 -5
View File
@@ -111,7 +111,7 @@ public class CableBusContainer implements AEMultiTile, ICableBusContainer
updateDynamicRender();
updateConnections();
markForUpdate();
PartChanged();
partChanged();
}
}
@@ -237,7 +237,7 @@ public class CableBusContainer implements AEMultiTile, ICableBusContainer
updateConnections();
markForUpdate();
PartChanged();
partChanged();
return ForgeDirection.UNKNOWN;
}
else if ( !(bp instanceof IPartCable) && side != ForgeDirection.UNKNOWN )
@@ -280,7 +280,7 @@ public class CableBusContainer implements AEMultiTile, ICableBusContainer
updateDynamicRender();
updateConnections();
markForUpdate();
PartChanged();
partChanged();
return side;
}
}
@@ -854,7 +854,7 @@ public class CableBusContainer implements AEMultiTile, ICableBusContainer
}
@Override
public void PartChanged()
public void partChanged()
{
if ( center == null )
{
@@ -877,7 +877,7 @@ public class CableBusContainer implements AEMultiTile, ICableBusContainer
}
}
tcb.PartChanged();
tcb.partChanged();
}
@Override
+1 -1
View File
@@ -96,7 +96,7 @@ public class PartP2PIC2Power extends PartP2PTunnel<PartP2PIC2Power> implements i
@Override
public void onChange()
{
getHost().PartChanged();
getHost().partChanged();
}
public float getPowerDrainPerTick()
+4 -4
View File
@@ -161,7 +161,7 @@ public class PartP2PItems extends PartP2PTunnel<PartP2PItems> implements IPipeCo
oldSize = getDest().getSizeInventory();
if ( olderSize != oldSize )
{
getHost().PartChanged();
getHost().partChanged();
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();
if ( olderSize != oldSize )
{
getHost().PartChanged();
getHost().partChanged();
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();
if ( olderSize != oldSize )
{
getHost().PartChanged();
getHost().partChanged();
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();
if ( olderSize != oldSize )
{
getHost().PartChanged();
getHost().partChanged();
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
public void PartChanged()
public void partChanged()
{
// nothing!
}