Fix SoulBound enchant not registering when id set to -1

@CrazyPants wat r u doin
This commit is contained in:
tterrag1098 committed 2014-12-25 01:45:57 -05:00
1 parent 9676e8291e
commit f6e55c91a2
1 file changed
+1 -1
@@ -22,7 +22,7 @@ public class Enchantments {
if(Config.enchantmentSoulBoundEnabled) {
int id = Config.enchantmentSoulBoundId;
if(id < 0) {
getEmptyEnchantId();
id = getEmptyEnchantId();
}
if(id < 0) {
Log.error("Could not find an empty enchantment ID to add enchanments");