Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ public static void sendMsg(int id, @Nullable String prefixTitle, @Nullable Forma

if (!Config.get().deleteChatFeedback.get()) id = 0;

((IChatHud) mc.inGameHud.getChatHud()).meteor$add(message, id);
final int finalId = id; // Intellij copes about using non-final args in lambdas
mc.execute(() -> ((IChatHud) mc.inGameHud.getChatHud()).meteor$add(message, finalId));
}

private static MutableText getCustomPrefix(String prefixTitle, Formatting prefixColor) {
Expand Down