We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When removing ChatLines from the drawChatLines of GuiNewWhat, if you have your chat opened and scrolled up somewhere, your whole chat will move.
This part of the code needs to be changed :
Patcher/src/main/java/club/sk1er/patcher/util/chat/ChatHandler.java
Line 231 in 4ce6e19
Current :
chatLinesWrapped.remove(index); index--;
Fixed :
chatLinesWrapped.remove(index); index--; if (mc.ingameGUI.getChatGUI().getChatOpen()) { mc.ingameGUI.getChatGUI().scroll(-1); }
In the method GuiNewChat.setLine, you can see that the vanilla code is doing the opposite operation to avoid the same problem when adding chat lines.
if (this.getChatOpen() && this.scrollPos > 0) { this.isScrolled = true; this.scroll(1); }
The text was updated successfully, but these errors were encountered:
Fix Sk1erLLC#185 and Sk1erLLC#186
b3e064a
No branches or pull requests
When removing ChatLines from the drawChatLines of GuiNewWhat, if you have your chat opened and scrolled up somewhere, your whole chat will move.
This part of the code needs to be changed :
Patcher/src/main/java/club/sk1er/patcher/util/chat/ChatHandler.java
Line 231 in 4ce6e19
Current :
Fixed :
In the method GuiNewChat.setLine, you can see that the vanilla code is doing the opposite operation to avoid the same problem when adding chat lines.
The text was updated successfully, but these errors were encountered: