CRITICAL HOT FIX!

This commit is contained in:
TinyTank800 2024-05-04 20:36:47 -07:00
parent 8c7bc490b0
commit 9f20c04354

View File

@ -31,6 +31,9 @@ public class GenUtils implements Listener {
@EventHandler
public void onInventoryClose(InventoryCloseEvent e) {
Player p = (Player)e.getPlayer();
if(!this.plugin.generateMode.contains(p)){
return;
}
if(!ChatColor.stripColor(e.getView().getTitle()).equals("Generate New Panel")){
return;
}