Zonemakers can't circumvent commandwhitelist anymore. Only war.admin perms lets you do that. Version v1.7.2-PREVEW.

This commit is contained in:
taoneill 2012-04-09 23:15:04 -04:00
parent 33117b9db0
commit ae190ed315
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
<groupId>com.tommytony</groupId>
<artifactId>war</artifactId>
<version>1.7.1</version>
<version>1.7.2-PREVIEW</version>
<packaging>jar</packaging>
<name>War</name>

View File

@ -165,7 +165,7 @@ public class WarPlayerListener implements Listener {
if (talkingPlayerTeam != null) {
String msg = event.getMessage();
String[] split = msg.split(" ");
if (!War.war.isZoneMaker(player) && split.length > 0 && split[0].startsWith("/")) {
if (!War.war.isWarAdmin(player) && split.length > 0 && split[0].startsWith("/")) {
String command = split[0].substring(1);
if (!command.equals("war") && !command.equals("zones") && !command.equals("warzones") && !command.equals("zone") && !command.equals("warzone") && !command.equals("teams") && !command.equals("join") && !command.equals("leave") && !command.equals("team") && !command.equals("warhub") && !command.equals("zonemaker")) {
// allow white commands

View File

@ -1,5 +1,5 @@
name: War
version: 1.7.1 (Doolittle)
version: 1.7.2-PREVIEW (Doolittle)
description: Lets you create TDM and CTF arenas (warzones) for a fast-paced and structured PVP experience.
author: tommytony
website: http://war.tommytony.com