From d2326de512477ce73556f71bfd41686ff381f9e7 Mon Sep 17 00:00:00 2001 From: thatsIch Date: Sat, 20 Sep 2014 22:39:37 +0200 Subject: [PATCH] Typo GridFlags.PREFERED --- me/GridNode.java | 4 ++-- parts/networking/PartCable.java | 2 +- parts/networking/PartDenseCable.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/me/GridNode.java b/me/GridNode.java index 5578bbe1..1e5f3186 100644 --- a/me/GridNode.java +++ b/me/GridNode.java @@ -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); } diff --git a/parts/networking/PartCable.java b/parts/networking/PartCable.java index 6316843a..9fb40267 100644 --- a/parts/networking/PartCable.java +++ b/parts/networking/PartCable.java @@ -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() )]; } diff --git a/parts/networking/PartDenseCable.java b/parts/networking/PartDenseCable.java index b1b79391..12c8d789 100644 --- a/parts/networking/PartDenseCable.java +++ b/parts/networking/PartDenseCable.java @@ -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) {