Skip to content

Commit

Permalink
fixed cache worlds not being updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sh0inx committed Jan 2, 2025
1 parent 62cb9da commit 0027713
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public void createWorld(World.Environment environment, String name) {
public void createCacheWorld(World world) {

if(!(IridiumSkyblock.getInstance().getChunkGenerator() instanceof IridiumChunkGenerator)) return;
if(((IridiumChunkGenerator) IridiumSkyblock.getInstance().getChunkGenerator()).isGeneratesTerrain()) return;
if(!((IridiumChunkGenerator) IridiumSkyblock.getInstance().getChunkGenerator()).isGeneratesTerrain()) return;

if (Bukkit.getWorld(getCacheWorldName(world)) == null) {

Expand Down

0 comments on commit 0027713

Please sign in to comment.