mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-03 11:06:08 +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 (prot.getSettingBool(ProtectConfig.disable_build) && !user.canBuild())
|
||||||
{
|
{
|
||||||
|
if (ess.getSettings().warnOnBuildDisallow())
|
||||||
|
{
|
||||||
|
user.sendMessage(Util.i18n("buildAlert"));
|
||||||
|
}
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue