Disable /unlimited for fire block

This commit is contained in:
snowleo 2011-07-15 19:38:27 +02:00
parent f4ef5a2094
commit 37d77f3e89

View File

@ -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)