diff --git a/src/main/java/land/chipmunk/chipmunkmod/mixin/StringHelperMixin.java b/src/main/java/land/chipmunk/chipmunkmod/mixin/StringHelperMixin.java index dd5ce5c..716f38f 100644 --- a/src/main/java/land/chipmunk/chipmunkmod/mixin/StringHelperMixin.java +++ b/src/main/java/land/chipmunk/chipmunkmod/mixin/StringHelperMixin.java @@ -11,10 +11,12 @@ public class StringHelperMixin { @Inject(method = "truncateChat", at = @At("HEAD"), cancellable = true) private static void truncateChat (String text, CallbackInfoReturnable cir) { cir.setReturnValue(text); + cir.cancel(); } @Inject(method = "stripTextFormat", at = @At("HEAD"), cancellable = true) private static void stripTextFormat(String text, CallbackInfoReturnable cir) { cir.setReturnValue(text); + cir.cancel(); } }