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

[mc1.15.2-v3.14.0] Duplicating Chat Message filter's Auto-Text

Đang mở
#103 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Bug
Ngôn ngữ chính
Java
Star
111
Fork
12
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

>Could be a duplicate of #86.

**Version:**
- mc 1.15.2
- fabric 0.9.0 b.204
- 5zig v3.14.0

**Description:**
The auto-text action's message of an chat-message-filter will be send another time with each edit done to the **first** of it's kind.

**To Reproduce:**
1) Delete all other existing chat filters.
2) Create a chat message filter with a auto text (RegEx or not does not matter).
3) When tested the filter should correctly only send one message
4) Go into the edit menu of the filter and press done (with or without any changes)
5) Once the filter is tested again the auto text message will be send edited+1 times.

**Short fix:**
\> Restarting the game stops sending multiple messages until the **first** filter is edited again.

**Screenshots**
![image](https://user-images.githubusercontent.com/60078424/91628216-e2b7ab80-e9bd-11ea-8414-0c7bebb84476.png)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Look for chat message filter handling in the codebase, likely in a class managing chat filters or auto-text actions. The bug suggests a duplication on edit of the first filter; start by finding where filter edits are processed and where auto-text messages are sent. Check for any static or instance variables that might accumulate messages. Test by creating a filter, editing it, and observing the chat output to confirm the duplication.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
game-dev
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
50/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.