mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
Another missing part
This commit is contained in:
parent
bfa8b26661
commit
f0c503dd13
1 changed files with 4 additions and 0 deletions
|
@ -33,6 +33,10 @@ public class EssentialsProtectPlayerListener extends PlayerListener
|
|||
|
||||
if (prot.getSettingBool(ProtectConfig.disable_build) && !user.canBuild())
|
||||
{
|
||||
if (ess.getSettings().warnOnBuildDisallow())
|
||||
{
|
||||
user.sendMessage(Util.i18n("buildAlert"));
|
||||
}
|
||||
event.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue