Remove unnecessary check
This commit is contained in:
parent
466b53307f
commit
bd0ca52700
|
@ -31,9 +31,6 @@ public class Methods {
|
|||
}
|
||||
|
||||
public static int getCost(RepairType type, ItemStack item) {
|
||||
if (!(item instanceof Damageable)) {
|
||||
return Integer.MAX_VALUE;
|
||||
}
|
||||
String equationXP = Settings.EXPERIENCE_EQUATION.getString();
|
||||
String equationECO = Settings.ECONOMY_EQUATION.getString();
|
||||
String equationITEM = Settings.ITEM_EQUATION.getString();
|
||||
|
|
Loading…
Reference in New Issue