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
commit092850792f8db438d36a750e593f2f9ef57bf291 (patch)
tree834d5850889c3aa4795e3b09fe2d76c55150e744 /EssentialsProtect
parentadfa7b87393cd88620d9d391e1c4721dcdc49008 (diff)
downloadEssentials-092850792f8db438d36a750e593f2f9ef57bf291.tar
Essentials-092850792f8db438d36a750e593f2f9ef57bf291.tar.gz
Essentials-092850792f8db438d36a750e593f2f9ef57bf291.tar.lz
Essentials-092850792f8db438d36a750e593f2f9ef57bf291.tar.xz
Essentials-092850792f8db438d36a750e593f2f9ef57bf291.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