diff options
author | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2023-01-13 11:15:15 -0500 |
---|---|---|
committer | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2023-01-13 11:15:15 -0500 |
commit | f80dad6f297a60f23ca3066742c2df78e3b6fc83 (patch) | |
tree | 3c3d286bc6d9faa5305d88c784893717d7c8bdfb /src/main/java/cc | |
parent | 348abd9142f75d9fb723237fdd3cfa3174bbbc21 (diff) | |
download | Chatting-f80dad6f297a60f23ca3066742c2df78e3b6fc83.tar.gz Chatting-f80dad6f297a60f23ca3066742c2df78e3b6fc83.tar.bz2 Chatting-f80dad6f297a60f23ca3066742c2df78e3b6fc83.zip |
fix the empty void when screenshotting
Diffstat (limited to 'src/main/java/cc')
-rw-r--r-- | src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin.java b/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin.java index 2bc5592..e0a76d5 100644 --- a/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin.java +++ b/src/main/java/cc/woverflow/chatting/mixin/GuiNewChatMixin.java @@ -208,7 +208,7 @@ public abstract class GuiNewChatMixin extends Gui implements GuiNewChatHook { @Redirect(method = "drawChat", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/gui/FontRenderer;drawStringWithShadow(Ljava/lang/String;FFI)I")) private int redirectDrawString(FontRenderer instance, String text, float x, float y, int color) { - return ModCompatHooks.redirectDrawString(text, x, y, color, chatting$drawingLine); + return ModCompatHooks.redirectDrawString(text, x, y, color, chatting$drawingLine, false); } @Redirect(method = "drawChat", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/gui/GuiNewChat;drawRect(IIIII)V", ordinal = 1)) |