Add comment to clarify debug mixin

This commit is contained in:
hhhzzzsss 2024-05-27 00:34:21 -05:00
parent 6b933463cf
commit cbd27508ef

View file

@ -11,6 +11,8 @@ import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
// Used for debugging purposes
@Mixin(ClientWorld.class) @Mixin(ClientWorld.class)
public class ClientWorldMixin { public class ClientWorldMixin {
@Inject(at = @At("HEAD"), method = "handleBlockUpdate(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)V", cancellable = true) @Inject(at = @At("HEAD"), method = "handleBlockUpdate(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)V", cancellable = true)