Couldn't handle mushrom that day
This commit is contained in:
parent
b9cdfd9d91
commit
e45e35f0c3
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user