Fixed AbstractEnchantItem typo.

Contributed by CostyKiller.
This commit is contained in:
MobiusDevelopment 2020-11-20 18:57:49 +00:00
parent 8c24c02176
commit f2267fb5d0
16 changed files with 16 additions and 16 deletions

View File

@ -73,7 +73,7 @@ public abstract class AbstractEnchantItem
throw new IllegalAccessError(); throw new IllegalAccessError();
} }
_grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE); _grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE);
_minEnchantLevel = set.getInt("maxEnchant", 0); _minEnchantLevel = set.getInt("minEnchant", 0);
_maxEnchantLevel = set.getInt("maxEnchant", 127); _maxEnchantLevel = set.getInt("maxEnchant", 127);
_bonusRate = set.getDouble("bonusRate", 0); _bonusRate = set.getDouble("bonusRate", 0);
} }

View File

@ -73,7 +73,7 @@ public abstract class AbstractEnchantItem
throw new IllegalAccessError(); throw new IllegalAccessError();
} }
_grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE); _grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE);
_minEnchantLevel = set.getInt("maxEnchant", 0); _minEnchantLevel = set.getInt("minEnchant", 0);
_maxEnchantLevel = set.getInt("maxEnchant", 127); _maxEnchantLevel = set.getInt("maxEnchant", 127);
_bonusRate = set.getDouble("bonusRate", 0); _bonusRate = set.getDouble("bonusRate", 0);
} }

View File

@ -73,7 +73,7 @@ public abstract class AbstractEnchantItem
throw new IllegalAccessError(); throw new IllegalAccessError();
} }
_grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE); _grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE);
_minEnchantLevel = set.getInt("maxEnchant", 0); _minEnchantLevel = set.getInt("minEnchant", 0);
_maxEnchantLevel = set.getInt("maxEnchant", 127); _maxEnchantLevel = set.getInt("maxEnchant", 127);
_bonusRate = set.getDouble("bonusRate", 0); _bonusRate = set.getDouble("bonusRate", 0);
} }

View File

@ -73,7 +73,7 @@ public abstract class AbstractEnchantItem
throw new IllegalAccessError(); throw new IllegalAccessError();
} }
_grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE); _grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE);
_minEnchantLevel = set.getInt("maxEnchant", 0); _minEnchantLevel = set.getInt("minEnchant", 0);
_maxEnchantLevel = set.getInt("maxEnchant", 127); _maxEnchantLevel = set.getInt("maxEnchant", 127);
_bonusRate = set.getDouble("bonusRate", 0); _bonusRate = set.getDouble("bonusRate", 0);
} }

View File

@ -73,7 +73,7 @@ public abstract class AbstractEnchantItem
throw new IllegalAccessError(); throw new IllegalAccessError();
} }
_grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE); _grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE);
_minEnchantLevel = set.getInt("maxEnchant", 0); _minEnchantLevel = set.getInt("minEnchant", 0);
_maxEnchantLevel = set.getInt("maxEnchant", 127); _maxEnchantLevel = set.getInt("maxEnchant", 127);
_bonusRate = set.getDouble("bonusRate", 0); _bonusRate = set.getDouble("bonusRate", 0);
} }

View File

@ -73,7 +73,7 @@ public abstract class AbstractEnchantItem
throw new IllegalAccessError(); throw new IllegalAccessError();
} }
_grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE); _grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE);
_minEnchantLevel = set.getInt("maxEnchant", 0); _minEnchantLevel = set.getInt("minEnchant", 0);
_maxEnchantLevel = set.getInt("maxEnchant", 127); _maxEnchantLevel = set.getInt("maxEnchant", 127);
_bonusRate = set.getDouble("bonusRate", 0); _bonusRate = set.getDouble("bonusRate", 0);
} }

View File

@ -73,7 +73,7 @@ public abstract class AbstractEnchantItem
throw new IllegalAccessError(); throw new IllegalAccessError();
} }
_grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE); _grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE);
_minEnchantLevel = set.getInt("maxEnchant", 0); _minEnchantLevel = set.getInt("minEnchant", 0);
_maxEnchantLevel = set.getInt("maxEnchant", 127); _maxEnchantLevel = set.getInt("maxEnchant", 127);
_bonusRate = set.getDouble("bonusRate", 0); _bonusRate = set.getDouble("bonusRate", 0);
} }

View File

@ -73,7 +73,7 @@ public abstract class AbstractEnchantItem
throw new IllegalAccessError(); throw new IllegalAccessError();
} }
_grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE); _grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE);
_minEnchantLevel = set.getInt("maxEnchant", 0); _minEnchantLevel = set.getInt("minEnchant", 0);
_maxEnchantLevel = set.getInt("maxEnchant", 127); _maxEnchantLevel = set.getInt("maxEnchant", 127);
_bonusRate = set.getDouble("bonusRate", 0); _bonusRate = set.getDouble("bonusRate", 0);
} }

View File

@ -73,7 +73,7 @@ public abstract class AbstractEnchantItem
throw new IllegalAccessError(); throw new IllegalAccessError();
} }
_grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE); _grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE);
_minEnchantLevel = set.getInt("maxEnchant", 0); _minEnchantLevel = set.getInt("minEnchant", 0);
_maxEnchantLevel = set.getInt("maxEnchant", 127); _maxEnchantLevel = set.getInt("maxEnchant", 127);
_bonusRate = set.getDouble("bonusRate", 0); _bonusRate = set.getDouble("bonusRate", 0);
} }

View File

@ -73,7 +73,7 @@ public abstract class AbstractEnchantItem
throw new IllegalAccessError(); throw new IllegalAccessError();
} }
_grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE); _grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE);
_minEnchantLevel = set.getInt("maxEnchant", 0); _minEnchantLevel = set.getInt("minEnchant", 0);
_maxEnchantLevel = set.getInt("maxEnchant", 127); _maxEnchantLevel = set.getInt("maxEnchant", 127);
_bonusRate = set.getDouble("bonusRate", 0); _bonusRate = set.getDouble("bonusRate", 0);
} }

View File

@ -73,7 +73,7 @@ public abstract class AbstractEnchantItem
throw new IllegalAccessError(); throw new IllegalAccessError();
} }
_grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE); _grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE);
_minEnchantLevel = set.getInt("maxEnchant", 0); _minEnchantLevel = set.getInt("minEnchant", 0);
_maxEnchantLevel = set.getInt("maxEnchant", 127); _maxEnchantLevel = set.getInt("maxEnchant", 127);
_bonusRate = set.getDouble("bonusRate", 0); _bonusRate = set.getDouble("bonusRate", 0);
} }

View File

@ -73,7 +73,7 @@ public abstract class AbstractEnchantItem
throw new IllegalAccessError(); throw new IllegalAccessError();
} }
_grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE); _grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE);
_minEnchantLevel = set.getInt("maxEnchant", 0); _minEnchantLevel = set.getInt("minEnchant", 0);
_maxEnchantLevel = set.getInt("maxEnchant", 127); _maxEnchantLevel = set.getInt("maxEnchant", 127);
_bonusRate = set.getDouble("bonusRate", 0); _bonusRate = set.getDouble("bonusRate", 0);
} }

View File

@ -73,7 +73,7 @@ public abstract class AbstractEnchantItem
throw new IllegalAccessError(); throw new IllegalAccessError();
} }
_grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE); _grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE);
_minEnchantLevel = set.getInt("maxEnchant", 0); _minEnchantLevel = set.getInt("minEnchant", 0);
_maxEnchantLevel = set.getInt("maxEnchant", 127); _maxEnchantLevel = set.getInt("maxEnchant", 127);
_bonusRate = set.getDouble("bonusRate", 0); _bonusRate = set.getDouble("bonusRate", 0);
} }

View File

@ -73,7 +73,7 @@ public abstract class AbstractEnchantItem
throw new IllegalAccessError(); throw new IllegalAccessError();
} }
_grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE); _grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE);
_minEnchantLevel = set.getInt("maxEnchant", 0); _minEnchantLevel = set.getInt("minEnchant", 0);
_maxEnchantLevel = set.getInt("maxEnchant", 127); _maxEnchantLevel = set.getInt("maxEnchant", 127);
_bonusRate = set.getDouble("bonusRate", 0); _bonusRate = set.getDouble("bonusRate", 0);
} }

View File

@ -73,7 +73,7 @@ public abstract class AbstractEnchantItem
throw new IllegalAccessError(); throw new IllegalAccessError();
} }
_grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE); _grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE);
_minEnchantLevel = set.getInt("maxEnchant", 0); _minEnchantLevel = set.getInt("minEnchant", 0);
_maxEnchantLevel = set.getInt("maxEnchant", 127); _maxEnchantLevel = set.getInt("maxEnchant", 127);
_bonusRate = set.getDouble("bonusRate", 0); _bonusRate = set.getDouble("bonusRate", 0);
} }

View File

@ -73,7 +73,7 @@ public abstract class AbstractEnchantItem
throw new IllegalAccessError(); throw new IllegalAccessError();
} }
_grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE); _grade = set.getEnum("targetGrade", CrystalType.class, CrystalType.NONE);
_minEnchantLevel = set.getInt("maxEnchant", 0); _minEnchantLevel = set.getInt("minEnchant", 0);
_maxEnchantLevel = set.getInt("maxEnchant", 127); _maxEnchantLevel = set.getInt("maxEnchant", 127);
_bonusRate = set.getDouble("bonusRate", 0); _bonusRate = set.getDouble("bonusRate", 0);
} }