Remove unused class
This commit is contained in:
parent
b076d29560
commit
05bdff6a37
@ -167,18 +167,6 @@ class MatteryPlayer(val ply: Player) {
|
||||
val level: Level get() = capability.ply.level()
|
||||
}
|
||||
|
||||
private inner class PlayerMatteryContainer(size: Int) : EnhancedContainer.Simple(size) {
|
||||
override fun notifySlotChanged(slot: Int, old: ItemStack) {
|
||||
if (ply is ServerPlayer) {
|
||||
val item = this[slot].copy()
|
||||
|
||||
tickList.once {
|
||||
MatteryInventoryChangeTrigger.trigger(ply, combinedInventory, item)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* For fields that need to be synchronized only to owning player
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user