Add info for world save warning

This commit is contained in:
Blue (Lukas Rieger) 2020-01-21 23:32:54 +01:00
parent 59b6c1c3c7
commit 140bcfd6b7
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ public class BukkitPlugin extends JavaPlugin implements ServerInterface {
new MetricsLite(this);
//save world so the level.dat is present on new worlds
Logger.global.logInfo("Saving all worlds once, to make sure the level.dat is present...");
for (World world : getServer().getWorlds()) {
world.save();
}