Fixed AbstractEnchantItem typo.
Contributed by CostyKiller.
This commit is contained in:
parent
8c24c02176
commit
f2267fb5d0
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user