mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-26 02:58:03 +01:00
Disable /unlimited for fire block
This commit is contained in:
parent
f4ef5a2094
commit
37d77f3e89
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user