Minor fix

This commit is contained in:
Auxilor
2022-09-29 19:52:25 +01:00
parent 28d63fc2e3
commit c7ad122050

View File

@@ -76,7 +76,7 @@ class EcoMenu(
fun handleClose(event: InventoryCloseEvent) {
onClose.forEach { it.handle(event, this) }
event.inventory.asRenderedInventory()?.generateCaptive()
event.inventory.asRenderedInventory()?.render()
MenuHandler.unregisterInventory(event.inventory)
}