mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-11-22 18:26:04 +01:00
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:
parent
35e17f3ec5
commit
be177902fd
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user