Skip to content

Commit 48d9f3b

Browse files
committed
fix: ghost mushroom attempt 4
Related to #336
1 parent ebd3b85 commit 48d9f3b

File tree

1 file changed

+1
-1
lines changed
  • c2me-fixes-worldgen-vanilla-bugs/src/main/java/com/ishland/c2me/fixes/worldgen/vanilla_bugs/mixin/mc_276863

1 file changed

+1
-1
lines changed

c2me-fixes-worldgen-vanilla-bugs/src/main/java/com/ishland/c2me/fixes/worldgen/vanilla_bugs/mixin/mc_276863/MixinChunkGenerating.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ private static CompletableFuture<Chunk> applyPostprocessingAfterLighting(Complet
4343

4444
if (blockState.getBlock() == Blocks.BROWN_MUSHROOM || blockState.getBlock() == Blocks.RED_MUSHROOM) {
4545
if (!blockState.canPlaceAt(chunkRegion, blockPos)) {
46-
chunkRegion.setBlockState(blockPos, Blocks.AIR.getDefaultState(), Block.NO_REDRAW | Block.FORCE_STATE);
46+
chunk1.setBlockState(blockPos, Blocks.AIR.getDefaultState(), false); // TODO depends on the fact that the chunk system always locks the current chunk
4747
}
4848
}
4949
}

0 commit comments

Comments
 (0)