diff --git a/me/energy/EnergyThreshold.java b/me/energy/EnergyThreshold.java index 501493f8..c29c79fd 100644 --- a/me/energy/EnergyThreshold.java +++ b/me/energy/EnergyThreshold.java @@ -29,7 +29,7 @@ public class EnergyThreshold implements Comparable @Override public int compareTo(EnergyThreshold o) { - return ItemSorters.comparDouble( Limit, o.Limit ); + return ItemSorters.compareDouble( Limit, o.Limit ); } } diff --git a/util/ItemSorters.java b/util/ItemSorters.java index 71936302..0bf3c3cb 100644 --- a/util/ItemSorters.java +++ b/util/ItemSorters.java @@ -43,7 +43,7 @@ public class ItemSorters return 1; } - public static int comparDouble(double a, double b) + public static int compareDouble(double a, double b) { if ( a == b ) return 0;