Implement clearSlotFilters in wrappedInventory
This commit is contained in:
parent
858e95e7bf
commit
d362c135d7
@ -325,6 +325,10 @@ class MatteryPlayer(val ply: Player) {
|
|||||||
override fun setChanged(slot: Int) {
|
override fun setChanged(slot: Int) {
|
||||||
ply.inventory.setChanged()
|
ply.inventory.setChanged()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun clearSlotFilters() {
|
||||||
|
regularSlotFilters.forEach { it.accept(null) }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
val wrappedItemInventory: IMatteryContainer = object : IMatteryContainer by wrappedInventory {
|
val wrappedItemInventory: IMatteryContainer = object : IMatteryContainer by wrappedInventory {
|
||||||
|
Loading…
Reference in New Issue
Block a user