summaryrefslogtreecommitdiffstats
path: root/EssentialsProtect/src/com/earth2me/essentials/protect
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-11-17 14:23:35 +0100
committersnowleo <schneeleo@gmail.com>2011-11-17 14:23:35 +0100
commitaf5a86c48c83067b05d4489745e4e5335f68c1d2 (patch)
tree3235a7c7fba794b14cd20809e76f316a5f1ced83 /EssentialsProtect/src/com/earth2me/essentials/protect
parentb9daf6aaa5c2b659599f6ebea0ce6e36c515201c (diff)
downloadEssentials-af5a86c48c83067b05d4489745e4e5335f68c1d2.tar
Essentials-af5a86c48c83067b05d4489745e4e5335f68c1d2.tar.gz
Essentials-af5a86c48c83067b05d4489745e4e5335f68c1d2.tar.lz
Essentials-af5a86c48c83067b05d4489745e4e5335f68c1d2.tar.xz
Essentials-af5a86c48c83067b05d4489745e4e5335f68c1d2.zip
Fix water/lava bucket bug with mobs
Diffstat (limited to 'EssentialsProtect/src/com/earth2me/essentials/protect')
-rw-r--r--EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java
index 7543a5244..e39970d06 100644
--- a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java
+++ b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java
@@ -25,10 +25,11 @@ public class EssentialsProtectPlayerListener extends PlayerListener
@Override
public void onPlayerInteract(final PlayerInteractEvent event)
{
- if (event.isCancelled())
+ // Do not return if cancelled, because the interact event has 2 cancelled states.
+ /*if (event.isCancelled())
{
return;
- }
+ }*/
final User user = ess.getUser(event.getPlayer());
if (event.hasItem()