26.2-snap-6
This commit is contained in:
1 parent
6e332f9c0b
commit
83aea79da0
8 files changed
+79
-51
No files matched your search
@@ -13,10 +13,10 @@ public class StructurePiece_scarpetPlopMixin
|
||||
{
|
||||
@Redirect(method = "placeBlock", at = @At(
|
||||
value = "INVOKE",
|
||||
target = "Lnet/minecraft/world/level/chunk/ChunkAccess;markPosForPostprocessing(Lnet/minecraft/core/BlockPos;)V"
|
||||
target = "Lnet/minecraft/world/level/chunk/ChunkAccess;markPosForPostProcessing(Lnet/minecraft/core/BlockPos;)V"
|
||||
))
|
||||
private void markOrNot(ChunkAccess chunk, BlockPos pos)
|
||||
{
|
||||
if (!CarpetSettings.skipGenerationChecks.get()) chunk.markPosForPostprocessing(pos);
|
||||
if (!CarpetSettings.skipGenerationChecks.get()) chunk.markPosForPostProcessing(pos);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user