Implement clearSlotFilters in wrappedInventory

This commit is contained in:
DBotThePony 2025-02-27 19:34:39 +07:00
parent 858e95e7bf
commit d362c135d7
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -325,6 +325,10 @@ class MatteryPlayer(val ply: Player) {
override fun setChanged(slot: Int) {
ply.inventory.setChanged()
}
override fun clearSlotFilters() {
regularSlotFilters.forEach { it.accept(null) }
}
}
val wrappedItemInventory: IMatteryContainer = object : IMatteryContainer by wrappedInventory {