Update to new API
This commit is contained in:
parent
0f2c3771ed
commit
1729febf54
|
@ -33,7 +33,7 @@ public class BSkyBlockWorld {
|
||||||
// Create the world if it does not exist
|
// Create the world if it does not exist
|
||||||
islandWorld = WorldCreator.name(worldName).type(WorldType.FLAT).environment(World.Environment.NORMAL).generator(new ChunkGeneratorWorld(addon))
|
islandWorld = WorldCreator.name(worldName).type(WorldType.FLAT).environment(World.Environment.NORMAL).generator(new ChunkGeneratorWorld(addon))
|
||||||
.createWorld();
|
.createWorld();
|
||||||
addon.getBSkyBlock().registerWorld(islandWorld, addon.getSettings());
|
addon.getPlugin().registerWorld(islandWorld, addon.getSettings());
|
||||||
|
|
||||||
// Make the nether if it does not exist
|
// Make the nether if it does not exist
|
||||||
if (addon.getSettings().isNetherGenerate()) {
|
if (addon.getSettings().isNetherGenerate()) {
|
||||||
|
@ -61,7 +61,7 @@ public class BSkyBlockWorld {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load schematics
|
// Load schematics
|
||||||
addon.getBSkyBlock().getSchemsManager().loadIslands(islandWorld);
|
addon.getPlugin().getSchemsManager().loadIslands(islandWorld);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue