5zig-reborn / 5zig-reborn/The-5zig-Mod

Some chat settings won't apply

未关闭
#133 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Bug
主要语言
Java
星标
111
派生
12
PR 合并指标
30 天内没有已合并 PR

描述

**Describe the bug**
I see multiple bugs in the chat settings of the mod and second chat.

For example. The time stamp wont appear in the main chat, but it will in the second one.

The second chat size settings won't apply if they´re configured in the second chat tab, the second chat will take the settings of the main one configured in the original minecraft tab of chat settings.

And, what I consider the most important one: the Chat Limit. Chat limit wont apply it settings, no matter what, not even in the second chat

**To Reproduce**
Steps to reproduce the behavior:
1. Go to Options -> The 5 zig mod ->Display Options
2. Click on Chat Limit
3. See error

(This steps for chat limit only)

**Expected behavior**
Expected to see time stamp in both chats, configure second chat in its own tab and have the 1000 chat lines.

**Screenshots**
![image](https://user-images.githubusercontent.com/77423995/104539524-56f89180-55e3-11eb-8aef-4d8d6c1bb7ce.png)
This capture shows my chat limit settings

![image](https://user-images.githubusercontent.com/77423995/104539438-257fc600-55e3-11eb-8cbb-c482b62e2c4e.png)
As you can see in the top left of the chat, there is the limit of scrolleable. I have hours online so there must be more chat lines as configured in the mod

![image](https://user-images.githubusercontent.com/77423995/104539646-932bf200-55e3-11eb-977c-75e38828d817.png)
Time stamp enabled!

![image](https://user-images.githubusercontent.com/77423995/104539674-a17a0e00-55e3-11eb-992c-befb34e4f772.png)
But it is only showed in the second chat

**Desktop (please complete the following information):**
- OS: Windows 10
![image](https://user-images.githubusercontent.com/77423995/104539761-ca020800-55e3-11eb-9fc0-c1d5784a70ca.png)
- Version b251 Minecraft 1.16.4 fabric mod version
![image](https://user-images.githubusercontent.com/77423995/104539833-ed2cb780-55e3-11eb-8835-11f681f95bcf.png)

**Additional context**
None

贡献指南

这个仓库没有索引到贡献指南

调研方向

Look for chat-related configuration classes, likely in the display options module. The bug involves multiple chat settings (timestamp, size, chat limit) not applying correctly between main and second chat. Start by examining how chat settings are loaded and applied for each chat instance. Check for any UI configuration handlers and see if the second chat is incorrectly inheriting settings from the main chat. Running the mod in a development environment and testing changes to these settings will help verify the fix.

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
desktop, game-dev
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。