Fix all items being enchanted
This commit is contained in:
parent
b69ca946a7
commit
992385c2d9
@ -1019,7 +1019,10 @@ public class DisguiseParser {
|
||||
}
|
||||
|
||||
ItemStack itemStack = new ItemStack(itemId, amount, itemDura);
|
||||
|
||||
if (enchanted) {
|
||||
itemStack.addUnsafeEnchantment(Enchantment.DURABILITY, 1);
|
||||
}
|
||||
|
||||
return itemStack;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user