summaryrefslogtreecommitdiffstats
path: root/EssentialsProtect/src/com/earth2me/essentials
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-06-12 16:15:50 +0200
committersnowleo <schneeleo@gmail.com>2011-06-12 16:15:50 +0200
commitda547981a83a690f86dbf37f9506e73586c1c821 (patch)
treeb9112335b6760d23ae2b9e81a73ae8d376d0be2a /EssentialsProtect/src/com/earth2me/essentials
parent627a75657cfc79ed59155603fb894b5f07c06332 (diff)
downloadEssentials-da547981a83a690f86dbf37f9506e73586c1c821.tar
Essentials-da547981a83a690f86dbf37f9506e73586c1c821.tar.gz
Essentials-da547981a83a690f86dbf37f9506e73586c1c821.tar.lz
Essentials-da547981a83a690f86dbf37f9506e73586c1c821.tar.xz
Essentials-da547981a83a690f86dbf37f9506e73586c1c821.zip
Prevent lava bucket placed in air (far away from user)
event.isCancelled() does not return the expected value
Diffstat (limited to 'EssentialsProtect/src/com/earth2me/essentials')
-rw-r--r--EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java
index ce76a594d..a2209a46a 100644
--- a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java
+++ b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectPlayerListener.java
@@ -24,11 +24,6 @@ public class EssentialsProtectPlayerListener extends PlayerListener
@Override
public void onPlayerInteract(final PlayerInteractEvent event)
{
- if (event.isCancelled())
- {
- return;
- }
-
final User user = ess.getUser(event.getPlayer());
if (prot.getSettingBool(ProtectConfig.disable_build) && !user.canBuild())