isDamageableItem check is useless
This commit is contained in:
parent
06bd41946c
commit
cef1ead810
@ -43,7 +43,7 @@ class EnergyContainerRecipe(
|
||||
|
||||
if (itemStack.isEnchantable) {
|
||||
for (it in container.iterator()) {
|
||||
if (!it.isEmpty && it.isDamageableItem && it.isEnchanted) {
|
||||
if (!it.isEmpty && it.isEnchanted) {
|
||||
for ((key, value) in it.allEnchantments) {
|
||||
itemStack.enchant(key, value)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user