forked from Upstream/CommandPanels
3.20.1.1
This commit is contained in:
parent
016d67f7c8
commit
b8ee48a384
@ -1,4 +1,4 @@
|
||||
version: 3.20.1.0
|
||||
version: 3.20.1.1
|
||||
main: me.rockyhawk.commandpanels.CommandPanels
|
||||
name: CommandPanels
|
||||
author: RockyHawk
|
||||
|
@ -32,7 +32,7 @@ public class GenUtils implements Listener {
|
||||
@EventHandler
|
||||
public void onInventoryClose(InventoryCloseEvent e) {
|
||||
Player p = (Player)e.getPlayer();
|
||||
if (!this.plugin.generateMode.contains(p)) {
|
||||
if(!p.hasPermission("commandpanel.generate")){
|
||||
return;
|
||||
}
|
||||
if(!ChatColor.stripColor(e.getView().getTitle()).equals("Generate New Panel")){
|
||||
|
Loading…
Reference in New Issue
Block a user