From be177902fd99b80d8bc42a40f5eaf822bfc95e6f Mon Sep 17 00:00:00 2001 From: Brettflan Date: Fri, 3 Jun 2011 13:02:24 -0500 Subject: [PATCH] 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. --- src/org/mcteam/factions/listeners/FactionsEntityListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/mcteam/factions/listeners/FactionsEntityListener.java b/src/org/mcteam/factions/listeners/FactionsEntityListener.java index b2072480..90dd9898 100644 --- a/src/org/mcteam/factions/listeners/FactionsEntityListener.java +++ b/src/org/mcteam/factions/listeners/FactionsEntityListener.java @@ -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; }