@@ -49,7 +49,7 @@ public final class ChunkBaseApp {
4949
5050 public static boolean isSupported (@ NotNull World world ) {
5151 return world .getSeed () != null && world .getGameVersion () != null &&
52- GameVersionNumber . asGameVersion ( world .getGameVersion () ).compareTo (MIN_GAME_VERSION ) >= 0 ;
52+ world .getGameVersion ().compareTo (MIN_GAME_VERSION ) >= 0 ;
5353 }
5454
5555 public static ChunkBaseApp newBuilder (String app , long seed ) {
@@ -60,31 +60,31 @@ public static void openSeedMap(World world) {
6060 assert isSupported (world );
6161
6262 newBuilder ("seed-map" , Objects .requireNonNull (world .getSeed ()))
63- .addPlatform (GameVersionNumber . asGameVersion ( world .getGameVersion () ), world .isLargeBiomes (), SEED_MAP_GAME_VERSIONS )
63+ .addPlatform (world .getGameVersion (), world .isLargeBiomes (), SEED_MAP_GAME_VERSIONS )
6464 .open ();
6565 }
6666
6767 public static void openStrongholdFinder (World world ) {
6868 assert isSupported (world );
6969
7070 newBuilder ("stronghold-finder" , Objects .requireNonNull (world .getSeed ()))
71- .addPlatform (GameVersionNumber . asGameVersion ( world .getGameVersion () ), world .isLargeBiomes (), STRONGHOLD_FINDER_GAME_VERSIONS )
71+ .addPlatform (world .getGameVersion (), world .isLargeBiomes (), STRONGHOLD_FINDER_GAME_VERSIONS )
7272 .open ();
7373 }
7474
7575 public static void openNetherFortressFinder (World world ) {
7676 assert isSupported (world );
7777
7878 newBuilder ("nether-fortress-finder" , Objects .requireNonNull (world .getSeed ()))
79- .addPlatform (GameVersionNumber . asGameVersion ( world .getGameVersion () ), false , NETHER_FORTRESS_GAME_VERSIONS )
79+ .addPlatform (world .getGameVersion (), false , NETHER_FORTRESS_GAME_VERSIONS )
8080 .open ();
8181 }
8282
8383 public static void openEndCityFinder (World world ) {
8484 assert isSupported (world );
8585
8686 newBuilder ("endcity-finder" , Objects .requireNonNull (world .getSeed ()))
87- .addPlatform (GameVersionNumber . asGameVersion ( world .getGameVersion () ), false , END_CITY_GAME_VERSIONS )
87+ .addPlatform (world .getGameVersion (), false , END_CITY_GAME_VERSIONS )
8888 .open ();
8989 }
9090
0 commit comments