Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/ver/6.5.0' into dev/7.0-2
Browse files Browse the repository at this point in the history
  • Loading branch information
duplexsystem committed Mar 3, 2024
2 parents 7214053 + 94949c9 commit b848dda
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ private boolean doVersionCheck() {
@Override
public @Nullable
ChunkGenerator getDefaultWorldGenerator(@NotNull String worldName, String id) {
if (id == null || id.trim().equals("")) { return null; }
return new BukkitChunkGeneratorWrapper(generatorMap.computeIfAbsent(worldName, name -> {
ConfigPack pack = platform.getConfigRegistry().getByID(id).orElseThrow(
() -> new IllegalArgumentException("No such config pack \"" + id + "\""));
Expand Down

0 comments on commit b848dda

Please sign in to comment.