#1640 Soulbound has ridiculous values for enchantability

This commit is contained in:
tterrag1098 committed 2015-01-19 20:32:39 -05:00
1 parent b2442d7849
commit fd3064cf17
1 file changed
+4 -4
@@ -36,13 +36,13 @@ public class EnchantmentSoulBound extends Enchantment {
}
@Override
public int getMinEnchantability(int p_77321_1_) {
return 0;
public int getMaxEnchantability(int level) {
return super.getMaxEnchantability(level) + 30;
}
@Override
public int getMaxEnchantability(int p_77317_1_) {
return Integer.MAX_VALUE;
public int getMinEnchantability(int level) {
return super.getMinEnchantability(level);
}
@Override