1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-13 18:14:38 +02:00

Another missing part

This commit is contained in:
snowleo
2011-06-12 14:54:56 +02:00
parent ba6ef52438
commit 627a75657c

View File

@@ -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;
}