Update CoreProtect and masterbuilder restrictions (#100)

* Update CoreProtect and masterbuilder restrictions

* intellij is gay shit
This commit is contained in:
Telesphoreo
2018-07-26 14:08:48 -07:00
committed by Lemon
parent 655766a0c4
commit 519b456807
10 changed files with 25 additions and 28 deletions

View File

@ -36,10 +36,9 @@ public class WorldManager extends FreedomService
@Override
protected void onStart()
{
// Disabled temporarily
flatlands.getWorld();
//adminworld.getWorld();
//masterBuilderWorld.getWorld();
adminworld.getWorld();
masterBuilderWorld.getWorld();
// Disable weather
if (ConfigEntry.DISABLE_WEATHER.getBoolean())
@ -57,9 +56,9 @@ public class WorldManager extends FreedomService
@Override
protected void onStop()
{
//flatlands.getWorld().save();
//adminworld.getWorld().save();
//masterBuilderWorld.getWorld().save();
flatlands.getWorld().save();
adminworld.getWorld().save();
masterBuilderWorld.getWorld().save();
}
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)