1.15 mixin cleanup
This commit is contained in:
1 parent
380b9131d8
commit
04459094e6
22 files changed
+72
-643
No files matched your search
@@ -11,15 +11,10 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
@Mixin(Chunk.class)
|
||||
public abstract class ChunkMixin
|
||||
{
|
||||
|
||||
///used for plop - changed in 1.14 - feature needs reimplemnting
|
||||
|
||||
|
||||
@Inject(method = "markBlockForPostProcessing(Lnet/minecraft/util/math/BlockPos;)V",
|
||||
at =@At("HEAD"), cancellable = true)
|
||||
private void squashWarnings(BlockPos blockPos_1, CallbackInfo ci)
|
||||
{
|
||||
if (CarpetSettings.skipGenerationChecks) ci.cancel();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user