diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/recipe/EnergyContainerRecipe.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/recipe/EnergyContainerRecipe.kt index 266e85377..cf2ec4a80 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/recipe/EnergyContainerRecipe.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/recipe/EnergyContainerRecipe.kt @@ -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) }