Fixed menu inventory registration memory leak
This commit is contained in:
@@ -63,6 +63,7 @@ class EcoMenu(
|
||||
|
||||
fun handleClose(event: InventoryCloseEvent) {
|
||||
onClose.handle(event, this)
|
||||
MenuHandler.unregisterMenu(event.inventory)
|
||||
}
|
||||
|
||||
override fun getRows(): Int {
|
||||
|
||||
Reference in New Issue
Block a user