From 3e01b73ab07d6e7137f0c9c18e9b92bbd7c556d0 Mon Sep 17 00:00:00 2001 From: Trent Hensler Date: Wed, 21 Mar 2018 15:02:18 -0700 Subject: [PATCH] Don't hurt truces --- .../massivecraft/factions/listeners/FactionsEntityListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/massivecraft/factions/listeners/FactionsEntityListener.java b/src/main/java/com/massivecraft/factions/listeners/FactionsEntityListener.java index cd0254d9..47043c18 100644 --- a/src/main/java/com/massivecraft/factions/listeners/FactionsEntityListener.java +++ b/src/main/java/com/massivecraft/factions/listeners/FactionsEntityListener.java @@ -405,7 +405,7 @@ public class FactionsEntityListener implements Listener { } // You can never hurt faction members or allies - if (relation.isMember() || relation.isAlly()) { + if (relation.isMember() || relation.isAlly() || relation.isTruce()) { if (notify) { attacker.msg(TL.PLAYER_PVP_CANTHURT, defender.describeTo(attacker)); }