Update mixin targets renamed by Mojang in 26.2-snap-5

Fixes #2187
This commit is contained in:
jasonxue authored and gnembon committed 2026-05-27 21:58:26 +02:00
1 parent 45e7f29e82
commit 68f25ed954
2 files changed
+2 -2

No files matched your search

@@ -12,7 +12,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
public abstract class ChunkAccess_warningsMixin
{
// failed to mixin into interface. need to mixin in two places that uses it
@Inject(method = "markPosForPostprocessing(Lnet/minecraft/core/BlockPos;)V",
@Inject(method = "markPosForPostProcessing(Lnet/minecraft/core/BlockPos;)V",
at =@At("HEAD"), cancellable = true)
private void squashWarnings(BlockPos blockPos_1, CallbackInfo ci)
{
@@ -11,7 +11,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
@Mixin(WorldGenRegion.class)
public class WorldGenRegion_scarpetPlopMixin
{
@Inject(method = "markPosForPostprocessing", at = @At("HEAD"), cancellable = true)
@Inject(method = "markPosForPostProcessing", at = @At("HEAD"), cancellable = true)
private void markOrNot(BlockPos blockPos, CallbackInfo ci)
{
if (CarpetSettings.skipGenerationChecks.get()) ci.cancel();