mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-28 00:17:11 +00:00
Optimize AntiBuild a little
Support item name deny messages in antibuild.
This commit is contained in:
parent
ba8d060927
commit
e045f9d983
15 changed files with 109 additions and 36 deletions
|
@ -431,6 +431,7 @@ public class Settings implements ISettings
|
|||
disablePrefix = _disablePrefix();
|
||||
disableSuffix = _disableSuffix();
|
||||
chatRadius = _getChatRadius();
|
||||
warnOnBuildDisallow = _warnOnBuildDisallow();
|
||||
}
|
||||
private List<Integer> itemSpawnBl = new ArrayList<Integer>();
|
||||
|
||||
|
@ -511,12 +512,21 @@ public class Settings implements ISettings
|
|||
{
|
||||
return config.getBoolean("spawn-if-no-home", false);
|
||||
}
|
||||
|
||||
private boolean warnOnBuildDisallow;
|
||||
|
||||
@Override
|
||||
public boolean warnOnBuildDisallow()
|
||||
private boolean _warnOnBuildDisallow()
|
||||
{
|
||||
return config.getBoolean("protect.disable.warn-on-build-disallow", false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean warnOnBuildDisallow()
|
||||
{
|
||||
return warnOnBuildDisallow;
|
||||
}
|
||||
|
||||
|
||||
private boolean debug = false;
|
||||
private boolean configDebug = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue