Default value for WorldBorder

This commit is contained in:
Fabrizio La Rosa 2020-06-13 22:44:25 +02:00
parent 0bf852befb
commit 4b72c7710d
2 changed files with 3 additions and 1 deletions

View File

@ -113,7 +113,7 @@ public class Island {
}
if (configLoad.getString("Border") == null) {
configLoad.set("Border.Enable", true);
configLoad.set("Border.Enable", mainConfig.getFileConfiguration().getBoolean("Island.WorldBorder.Default", false));
configLoad.set("Border.Color", WorldBorder.Color.Blue.name());
}

View File

@ -87,6 +87,8 @@ Island:
# Prevent blocks being placed that would go outside of the Island border
# Pistons | Dispensers | Liquid Flow
Block: true
# Enabled/Disabled by default
Default: false
Spawn:
# Prevents blocks being placed inside the location where players spawn on
# an Island. When setting the spawn points, this option when enabled will