Typo GridFlags.PREFERED

This commit is contained in:
thatsIch 2014-09-20 22:39:37 +02:00
parent 03499f2f3a
commit d2326de512
3 changed files with 4 additions and 4 deletions

View file

@ -379,8 +379,8 @@ public class GridNode implements IGridNode, IPathItem
@Override
public int compare(IGridConnection o1, IGridConnection o2)
{
boolean preferedA = o1.getOtherSide( gn ).hasFlag( GridFlags.PREFERED );
boolean preferedB = o2.getOtherSide( gn ).hasFlag( GridFlags.PREFERED );
boolean preferedA = o1.getOtherSide( gn ).hasFlag( GridFlags.PREFERRED );
boolean preferedB = o2.getOtherSide( gn ).hasFlag( GridFlags.PREFERRED );
return preferedA == preferedB ? 0 : (preferedA ? -1 : 1);
}

View file

@ -53,7 +53,7 @@ public class PartCable extends AEBasePart implements IPartCable
public PartCable(Class c, ItemStack is) {
super( c, is );
proxy.setFlags( GridFlags.PREFERED );
proxy.setFlags( GridFlags.PREFERRED );
proxy.setIdlePowerUsage( 0.0 );
proxy.myColor = AEColor.values()[((ItemMultiPart) is.getItem()).varientOf( is.getItemDamage() )];
}

View file

@ -56,7 +56,7 @@ public class PartDenseCable extends PartCable
public PartDenseCable(Class c, ItemStack is) {
super( c, is );
proxy.setFlags( GridFlags.DENSE_CAPACITY, GridFlags.PREFERED );
proxy.setFlags( GridFlags.DENSE_CAPACITY, GridFlags.PREFERRED );
}
public PartDenseCable(ItemStack is) {