mirror of
https://github.com/taoneill/war.git
synced 2024-11-13 05:54:31 +01:00
Removed spammy forgotten logging code when pvpinzonesonly:off. War v1.6 PREVIEW 5.
This commit is contained in:
parent
66b4af4d1a
commit
7fef7c9649
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user