mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-12 09:35:26 +02:00
Another missing part
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user