diff options
author | snowleo <schneeleo@gmail.com> | 2011-07-15 19:38:27 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-07-15 19:38:27 +0200 |
commit | 37d77f3e89c7af9e8dffbd7e1c59ddea9e936eb4 (patch) | |
tree | 4dfdeb977f8d5e92b4f6016351722b4eab636f90 | |
parent | f4ef5a2094b7b812f8121d3061fdc7b571cd2ca6 (diff) | |
download | Essentials-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.java | 2 |
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) |