forked from Upstream/CommandPanels
Update GenUtils.java
CRITICAL FIX
This commit is contained in:
parent
fe32486b0b
commit
66944ab903
@ -32,6 +32,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