forked from Upstream/CommandPanels
CRITICAL HOT FIX!
This commit is contained in:
parent
8c7bc490b0
commit
9f20c04354
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user