diff options
author | snowleo <schneeleo@gmail.com> | 2011-11-17 14:23:35 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-11-17 14:23:35 +0100 |
commit | af5a86c48c83067b05d4489745e4e5335f68c1d2 (patch) | |
tree | 3235a7c7fba794b14cd20809e76f316a5f1ced83 /EssentialsProtect/src/com | |
parent | b9daf6aaa5c2b659599f6ebea0ce6e36c515201c (diff) | |
download | Essentials-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')
-rw-r--r-- | EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java | 5 |
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() |