Couldn't handle mushrom that day

This commit is contained in:
DBotThePony 2025-03-05 13:20:16 +07:00
parent b9cdfd9d91
commit e45e35f0c3
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -63,10 +63,6 @@ open class MatterySlot(container: Container, index: Int, x: Int = 0, y: Int = 0)
return super.mayPickup(player) && (!ignoreSpectators || !player.isSpectator)
}
override fun mayPlace(itemStack: ItemStack): Boolean {
return super.mayPlace(itemStack) && (!ignoreSpectators || runOnClient(true) { minecraft.player?.isSpectator != true })
}
open fun canTakeItemForPickAll(): Boolean {
return true
}