diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/item/BatteryItem.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/item/BatteryItem.kt index c5e88f37f..179f2fab2 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/item/BatteryItem.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/item/BatteryItem.kt @@ -149,7 +149,7 @@ open class BatteryItem : Item { override fun fillItemCategory(p_41391_: CreativeModeTab, p_41392_: NonNullList) { super.fillItemCategory(p_41391_, p_41392_) - if (allowedIn(p_41391_)) { + if (!isCreative && allowedIn(p_41391_)) { p_41392_.add(ItemStack(this).also { it.matteryEnergy?.let { if (it is Power) {