summaryrefslogtreecommitdiffstats
path: root/EssentialsProtect/src
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
commitebc56c0e15fa72360041a9bc94f23a369ba372d5 (patch)
treea034868dba1269ef1bc13d5bd9d4e09f3bb7a14f /EssentialsProtect/src
parentf0c503dd13260a3d453b85ebeba46773f9c5e8cd (diff)
downloadEssentials-ebc56c0e15fa72360041a9bc94f23a369ba372d5.tar
Essentials-ebc56c0e15fa72360041a9bc94f23a369ba372d5.tar.gz
Essentials-ebc56c0e15fa72360041a9bc94f23a369ba372d5.tar.lz
Essentials-ebc56c0e15fa72360041a9bc94f23a369ba372d5.tar.xz
Essentials-ebc56c0e15fa72360041a9bc94f23a369ba372d5.zip
Prevent lava bucket placed in air (far away from user)
event.isCancelled() does not return the expected value
Diffstat (limited to 'EssentialsProtect/src')
-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())