Skip to content

Commit

Permalink
Fix StackOverflowError with ChickenChunks loader
Browse files Browse the repository at this point in the history
  • Loading branch information
Roadhog360 committed Apr 17, 2024
1 parent ea34707 commit 08c02e8
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,12 @@ public EtFuturumWorldListener(World theWorld) {

@Override
public void markBlockForUpdate(int x, int y, int z) {
handleBasaltFromLava(x, y, z);

if (replacements.isEmpty() || !world.blockExists(x, y, z))
if (replacements.isEmpty() || !world.blockExists(x, y, z) /*|| !world.getChunkFromBlockCoords(x, z).isChunkLoaded*/)
return;

handleBasaltFromLava(x, y, z);

Block replacement;
TileEntity tile;

Expand Down

0 comments on commit 08c02e8

Please sign in to comment.