This commit is contained in:
7cc5c4f330d47060 2024-09-15 16:55:54 -04:00
parent ca1095363f
commit e2f8e2ae64
Signed by: 7cc5c4f330d47060
SSH key fingerprint: SHA256:e+4tcZut1nBpe10PqjaO+Rvie0Q7W4qIvFzcUw+7riA

View file

@ -31,7 +31,7 @@ public abstract class ChatHudMixin {
@Inject(method = "addMessage(Lnet/minecraft/text/Text;Lnet/minecraft/network/message/MessageSignatureData;Lnet/minecraft/client/gui/hud/MessageIndicator;)V", at = @At("HEAD"), cancellable = true)
public void chipmunkmod$preventDoubleMessageLogging(Text message, MessageSignatureData signature, MessageIndicator indicator, CallbackInfo ci) {
addMessage(message, signature, client.inGameHud.getTicks(), indicator, false);
// addMessage(message, signature, client.inGameHud.getTicks(), indicator, false);
if(false) ci.cancel();
}