summaryrefslogtreecommitdiffstats
path: root/EssentialsProtect
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-12-29 07:35:26 +0000
committerKHobbits <rob@khobbits.co.uk>2012-12-29 07:35:26 +0000
commitb2a1504722a619610be734c46f0357fc7066a489 (patch)
tree211b4418d7fe8f73483d4a392a47dab62d834ad8 /EssentialsProtect
parent06d3f9f41c1c12fcda6fa2eef8a3b3e6ff0559a0 (diff)
downloadEssentials-b2a1504722a619610be734c46f0357fc7066a489.tar
Essentials-b2a1504722a619610be734c46f0357fc7066a489.tar.gz
Essentials-b2a1504722a619610be734c46f0357fc7066a489.tar.lz
Essentials-b2a1504722a619610be734c46f0357fc7066a489.tar.xz
Essentials-b2a1504722a619610be734c46f0357fc7066a489.zip
Ignore self damage in teleport entity protection.
Diffstat (limited to 'EssentialsProtect')
-rw-r--r--EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java2
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 1ca9519ce..4770248b9 100644
--- a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java
+++ b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java
@@ -233,7 +233,7 @@ public class EssentialsProtectEntityListener implements Listener
event.setCancelled(true);
return;
}
-
+
// This code will prevent explosions near protected rails, signs or protected chests
// TODO: Use protect db instead of this code