mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-11-18 17:29:56 +00:00
Fix minor typo in plugin.yml
Remove 'essentials.interact' permission from antibuild - Not needed
This commit is contained in:
parent
5f73bf12d7
commit
ba8d060927
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue