MCCTeam / Minecraft-Console-Client

Lightweight console for Minecraft chat and automated scripts
https://mccteam.github.io
Other
1.67k stars 402 forks source link

[BUG] #2782

Open 9nan opened 3 months ago

9nan commented 3 months ago

Prerequisites

Minecraft Version

1.20.4

Console Client Version

MinecraftClient-20240713-273-win-x64.exe

Expected Behavior

auto eat is not working

Actual Behavior

[ERROR] OnUpdateHealth: Got error from MinecraftClient.ChatBots.AutoEat: System.NullReferenceException: Object reference not set to an instance of a at MinecraftClient.McClient.DispatchBotEvent(Action1 action, IEnumerable1 botList)

Steps to Reproduce the bug

  1. just turn on autoeat feature

Attach screenshot here (If applicable)

[ERROR] OnUpdateHealth: Got error from MinecraftClient.ChatBots.AutoEat: System.NullReferenceException: Object reference not set to an instance of a at MinecraftClient.McClient.DispatchBotEvent(Action1 action, IEnumerable1 botList)

Anythings that could help diagnosing the bug

No response

Device

Laptop

Operating System

Windows

Server Address (If applicable)

No response