Skip to content

Commit

Permalink
リスナーのミス修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Arisa9006 committed Nov 17, 2024
1 parent 7f7fe24 commit 65724f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public void onClick(InventoryClickEvent e){

@EventHandler
public void onClose(InventoryCloseEvent e){
if(e.getInventory() != page.inventory) return;
if(e.getView().getTopInventory() != page.inventory) return;
page.close();
}
}

0 comments on commit 65724f1

Please sign in to comment.