Skip to content

Commit

Permalink
Hardcoded fix for our PVP worlds
Browse files Browse the repository at this point in the history
  • Loading branch information
frdmn committed Jun 28, 2014
1 parent c87ebee commit 8c908c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mn/frd/CustomWhois/CustomWhois.java
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@ public boolean onCommand(CommandSender sender, Command cmd, String commandLabel,
sender.sendMessage(ChatColor.GOLD + "- Hunger: " + ChatColor.RESET + phunger.intValue() + "/" + pmaxhunger.intValue() + " (+" + psaturation.intValue() + ")");
}
if ((sender.hasPermission("customwhois.custom.exp")) && !(sender.hasPermission("customwhois.deny."+ plocworld +".exp"))){
sender.sendMessage(ChatColor.GOLD + "- Exp: " + ChatColor.RESET + pexp + " (Level " + pexplevel + ")");
if(plocworld != "war_survival_pvp_1-7_15-12-2013" && plocworld != "war_nether_pvp_1-7_15-12-2013" && plocworld != "war_end_pvp_1-7_15-12-2013"){
sender.sendMessage(ChatColor.GOLD + "- Exp: " + ChatColor.RESET + pexp + " (Level " + pexplevel + ")");
}
}
if ((sender.hasPermission("customwhois.custom.location")) && !(sender.hasPermission("customwhois.deny."+ plocworld +".location"))){
sender.sendMessage(ChatColor.GOLD + "- Location: " + ChatColor.RESET + plocation);
Expand Down

0 comments on commit 8c908c9

Please sign in to comment.