mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2025-01-12 11:21:34 +01:00
new global flags are now read from .yml files
This commit is contained in:
parent
8ad713c183
commit
6a2affc0f9
@ -224,10 +224,12 @@ private void loadConfiguration() {
|
||||
globalFlags.canTnt = config.getBoolean("regions.default.tnt", true);
|
||||
globalFlags.allowCreeper = config.getBoolean("regions.default.creeper", true);
|
||||
globalFlags.allowMobDamage = config.getBoolean("regions.default.mobdamage", true);
|
||||
globalFlags.canLeverandbutton = config.getBoolean("regions.default.leverandbutton", true);
|
||||
globalFlags.canPlaceVehicle = config.getBoolean("regions.default.placevehicle", true);
|
||||
globalFlags.allowWaterflow = config.getBoolean("regions.default.waterflow", true);
|
||||
wp.getGlobalRegionManager().setGlobalFlags(worldName, globalFlags);
|
||||
|
||||
|
||||
|
||||
boolean useBlacklistAsWhitelist = config.getBoolean("blacklist.use-as-whitelist", false);
|
||||
|
||||
// Console log configuration
|
||||
|
Loading…
Reference in New Issue
Block a user