lol
This commit is contained in:
parent
70bfa114c8
commit
d76f2fe015
@ -68,7 +68,7 @@ enum class AutomationFilters : AutomationFilter<ContainerSlot> {
|
||||
}
|
||||
},
|
||||
|
||||
DICHARGEABLE {
|
||||
DISCHARGABLE {
|
||||
override fun canAutomationPlaceItem(self: ContainerSlot, itemStack: ItemStack): Boolean {
|
||||
return itemStack.getCapability(Capabilities.EnergyStorage.ITEM)?.let { it.canExtract() && it.extractEnergy(Int.MAX_VALUE, true) > 0 } ?: false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user