mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-22 17:18:37 +01:00
Fix minor typo in plugin.yml
Remove 'essentials.interact' permission from antibuild - Not needed
This commit is contained in:
parent
5f73bf12d7
commit
ba8d060927
@ -328,7 +328,7 @@ commands:
|
||||
aliases: [espawnmob,mob,emob]
|
||||
speed:
|
||||
description: Change your speed limits
|
||||
usage: /<command> [speed] [player]
|
||||
usage: /<command> <speed> [player]
|
||||
aliases: [flyspeed,walkspeed,fspeed,wspeed,eflyspeed,ewalkspeed,efspeed,ewspeed,espeed]
|
||||
sudo:
|
||||
description: Make another user perform a command.
|
||||
|
@ -196,7 +196,7 @@ public class EssentialsAntiBuildListener implements Listener
|
||||
prot.getEssentialsConnect().alert(user, item.getType().toString(), _("alertUsed"));
|
||||
}
|
||||
|
||||
if (prot.getSettingBool(AntiBuildConfig.disable_use) && !user.canBuild() && !user.isAuthorized("essentials.interact") && !user.isAuthorized("essentials.build"))
|
||||
if (prot.getSettingBool(AntiBuildConfig.disable_use) && !user.canBuild() && !user.isAuthorized("essentials.build"))
|
||||
{
|
||||
if (!metaPermCheck(user, "interact", event.getClickedBlock()))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user