People hit in a safe zone no longer get spammed with "PlayerX tried to hurt you" messages; only the idiot trying to hit someone else in a safe zone gets spammed.

This commit is contained in:
Brettflan 2011-06-03 13:02:24 -05:00
parent 35e17f3ec5
commit be177902fd

View File

@ -146,7 +146,7 @@ public class FactionsEntityListener extends EntityListener {
if (damager instanceof Player) {
FPlayer attacker = FPlayer.get((Player)damager);
attacker.sendMessage("You can't hurt other players in a SafeZone.");
defender.sendMessage(attacker.getNameAndRelevant(defender)+Conf.colorSystem+" tried to hurt you.");
// defender.sendMessage(attacker.getNameAndRelevant(defender)+Conf.colorSystem+" tried to hurt you.");
}
return false;
}