Merge branch '1.21' into new-container-api
This commit is contained in:
commit
b39c82e79a
@ -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