One more isCancelable
This commit is contained in:
parent
75681fb4c4
commit
2e23ce1a04
@ -175,6 +175,10 @@ class MatteryPlayerCapability(val ply: Player) : ICapabilityProvider, INBTSerial
|
||||
data class ItemStackLeftoverEvent(val stack: ItemStack, val capability: MatteryPlayerCapability) : Event() {
|
||||
val player get() = capability.ply
|
||||
val level: Level get() = capability.ply.level()
|
||||
|
||||
override fun isCancelable(): Boolean {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
private inner class PlayerMatteryContainer(size: Int) : MatteryContainer(size) {
|
||||
|
Loading…
Reference in New Issue
Block a user