mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-30 21:17:36 +01:00
Block minecraft:op as well
This commit is contained in:
parent
a6261b9071
commit
7e0ff24c57
@ -78,7 +78,7 @@
|
|||||||
public class WorldGuardPlayerListener implements Listener {
|
public class WorldGuardPlayerListener implements Listener {
|
||||||
|
|
||||||
private static final Logger log = Logger.getLogger(WorldGuardPlayerListener.class.getCanonicalName());
|
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;
|
private WorldGuardPlugin plugin;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user