diff options
Diffstat (limited to 'EssentialsProtect')
-rw-r--r-- | EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java index cb7d8ed1c..6a1c8aa38 100644 --- a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java +++ b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java @@ -246,7 +246,7 @@ public class EssentialsProtectEntityListener extends EntityListener if ((event.getReason() == TargetReason.CLOSEST_PLAYER ||
event.getReason() == TargetReason.TARGET_ATTACKED_ENTITY ||
event.getReason() == TargetReason.PIG_ZOMBIE_TARGET) &&
- EssentialsProtect.guardSettings.get("protect.prevent.entitiytarget") &&
+ EssentialsProtect.guardSettings.get("protect.prevent.entitytarget") &&
!user.isAuthorized("essentials.protect.entitytarget.bypass")
)
{
|