Removed spammy forgotten logging code when pvpinzonesonly:off. War v1.6 PREVIEW 5.

This commit is contained in:
taoneill 2011-08-08 23:00:18 -04:00
parent 66b4af4d1a
commit 7fef7c9649
3 changed files with 2 additions and 4 deletions

View File

@ -588,13 +588,11 @@ public class War extends JavaPlugin {
public boolean canPvpOutsideZones(Player player) {
if (this.isPvpInZonesOnly()) {
if (War.permissionHandler != null && (War.permissionHandler.has(player, "war.pvp") || War.permissionHandler.has(player, "War.pvp"))) {
War.war.log(player.getName() + " can pvp. Has war.pvp.", Level.INFO);
return true;
}
// w/o Permissions, if pvpInZoneOnly, no one can pvp outside the zone
return false;
} else {
War.war.log(player.getName() + " can pvp. Not pvpinzonesonly.", Level.INFO);
return true;
}
}

View File

@ -1,5 +1,5 @@
name: War
version: 1.6 (de Gaulle) PREVIEW 4
version: 1.6 (de Gaulle) PREVIEW 5
description: Lets you create TDM and CTF (warzones) for a more structured PVP experience.
author: tommytony
website: war.tommytony.com

View File

@ -1,5 +1,5 @@
name: War
version: 1.6 (de Gaulle) PREVIEW 4
version: 1.6 (de Gaulle) PREVIEW 5
description: Lets you create TDM and CTF (warzones) for a more structured PVP experience.
author: tommytony
website: war.tommytony.com