mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-26 23:13:21 +00:00
Fix SoulBound enchant not registering when id set to -1
@CrazyPants wat r u doin
This commit is contained in:
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");
|
||||
|
||||
Reference in new issue
Block a user