@ -6127,11 +6128,11 @@ public void payDay(int time)
classBonusEnchantment{
publicenumItemType{WEAPONS,ARMOR,BOTH}
Stringname;//The string name of the Bonus Enchantment.
booleanpercent;//Whether or not this enchantment is a percentage value, or an integer value.
booleanenchant_format;//Whether or not this enchantment is type 1 (false) or type 2 (true). Type 2 enchants are the ones that look like actual in-game enchantments.
ItemTypeitem_type;//The item type this enchantment can apply to.
Rangevalue_range;
Stringname="";//The string name of the Bonus Enchantment.
booleanpercent=false;//Whether or not this enchantment is a percentage value, or an integer value.
booleanenchant_format=false;//Whether or not this enchantment is type 1 (false) or type 2 (true). Type 2 enchants are the ones that look like actual in-game enchantments.
ItemTypeitem_type=ItemType.BOTH;//The item type this enchantment can apply to.
Rangevalue_range=newIntRange(0,0);
/**
*CreatesanewBonusEnchantment.
*@paramnameThestringnameoftheBonusenchantment.
@ -6146,6 +6147,7 @@ class BonusEnchantment {
this.enchant_format=enchant_format;
this.item_type=type;
this.value_range=values_range;
Bukkit.getLogger().info("Initialized new Bonus Enchantment: "+name+" ("+values_range.getMinimumNumber().toString()+","+values_range.getMaximumNumber().toString()+")");