Update Permission #220
@ -128,7 +128,7 @@ public class SteamWarLuaPlugin extends TwoArgFunction {
|
||||
Bukkit.getLogger().log(Level.INFO, player.getName() + " dispatched command: " + command);
|
||||
String[] commandSplit = command.split(" ");
|
||||
if (!commandSplit[0].equals("select") && hasFAWE && WorldEditListener.isWorldEditCommand("/" + commandSplit[0])) {
|
||||
if (!Permission.WORLDEDIT.hasPermission(player)) {
|
||||
if (!Permission.BUILD.hasPermission(player)) {
|
||||
return NIL;
|
||||
}
|
||||
EditSession editSession = WorldEditUtils.getEditSession(player);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren