summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-07-15 19:38:27 +0200
committersnowleo <schneeleo@gmail.com>2011-07-15 19:38:27 +0200
commit37d77f3e89c7af9e8dffbd7e1c59ddea9e936eb4 (patch)
tree4dfdeb977f8d5e92b4f6016351722b4eab636f90
parentf4ef5a2094b7b812f8121d3061fdc7b571cd2ca6 (diff)
downloadEssentials-37d77f3e89c7af9e8dffbd7e1c59ddea9e936eb4.tar
Essentials-37d77f3e89c7af9e8dffbd7e1c59ddea9e936eb4.tar.gz
Essentials-37d77f3e89c7af9e8dffbd7e1c59ddea9e936eb4.tar.lz
Essentials-37d77f3e89c7af9e8dffbd7e1c59ddea9e936eb4.tar.xz
Essentials-37d77f3e89c7af9e8dffbd7e1c59ddea9e936eb4.zip
Disable /unlimited for fire block
-rw-r--r--Essentials/src/com/earth2me/essentials/EssentialsBlockListener.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/EssentialsBlockListener.java b/Essentials/src/com/earth2me/essentials/EssentialsBlockListener.java
index 4e70346fb..ff31e5aab 100644
--- a/Essentials/src/com/earth2me/essentials/EssentialsBlockListener.java
+++ b/Essentials/src/com/earth2me/essentials/EssentialsBlockListener.java
@@ -308,6 +308,8 @@ public class EssentialsBlockListener extends BlockListener
case PISTON_BASE:
is.setDurability((short)0);
break;
+ case FIRE:
+ return;
}
boolean unlimitedForUser = user.hasUnlimited(is);
if (unlimitedForUser)