summaryrefslogtreecommitdiffstats
path: root/EssentialsProtect/src/com/earth2me/essentials
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
commit8852910c7acb92a65424836fb3c13eaab8b09345 (patch)
tree6d40921ee36e58ccdc999aeb409f1f6aba8ae727 /EssentialsProtect/src/com/earth2me/essentials
parent88b5b30d6d38b6b7d1e8b32741ed7421a980b46a (diff)
downloadEssentials-8852910c7acb92a65424836fb3c13eaab8b09345.tar
Essentials-8852910c7acb92a65424836fb3c13eaab8b09345.tar.gz
Essentials-8852910c7acb92a65424836fb3c13eaab8b09345.tar.lz
Essentials-8852910c7acb92a65424836fb3c13eaab8b09345.tar.xz
Essentials-8852910c7acb92a65424836fb3c13eaab8b09345.zip
Fix water/lava bucket bug with mobs
Diffstat (limited to 'EssentialsProtect/src/com/earth2me/essentials')
-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()