Add experimental option to try to migrate old chunks

This commit is contained in:
Mike Primm 2019-06-09 09:59:08 -05:00
parent 881b7dfefd
commit 286a12c4ef
6 changed files with 56 additions and 5 deletions

View file

@ -1624,4 +1624,11 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
Polygon getWorldBorder(World w) {
return helper.getWorldBorder(w);
}
public static boolean migrateChunks() {
if ((plugin != null) && (plugin.core != null)) {
return plugin.core.migrateChunks();
}
return false;
}
}