Permalink
Browse files

Block minecraft:op as well

  • Loading branch information...
me4502 committed Oct 7, 2018
1 parent a6261b9 commit 7e0ff24c573039787e537e4d2b6df20cc684d232
@@ -78,7 +78,7 @@
public class WorldGuardPlayerListener implements Listener {
private static final Logger log = Logger.getLogger(WorldGuardPlayerListener.class.getCanonicalName());
private static final Pattern opPattern = Pattern.compile("^/(?:bukkit:)?op(?:\\s.*)?$", Pattern.CASE_INSENSITIVE);
private static final Pattern opPattern = Pattern.compile("^/(?:minecraft:)(?:bukkit:)?op(?:\\s.*)?$", Pattern.CASE_INSENSITIVE);
private WorldGuardPlugin plugin;
/**

0 comments on commit 7e0ff24

Please sign in to comment.