Skip to content

[BUG] replay error #2895

@yingfing

Description

@yingfing

Prerequisites

  • I made sure I am running the latest development build
  • I tried to look for similar issues before opening a new one
  • I have set debugmessages=true in config to diagnose my issue
  • I have redacted session tokens and passwords before attaching screenshots

Minecraft Version

1.20.1

Console Client Version

Minecraft Console Client v1.20.4 - for MC 1.4.6 to 1.20.4 - Github.com/MCCTeam

Expected Behavior

07:12:20 [ERROR] OnNetworkPacket: Got error from MinecraftClient.ChatBots.ReplayCapture: System.NullReferenceException: at MinecraftClient.ChatBots.ReplayCapture.OnNetworkPacket(Int32 packetID, List1 packetData, Boolean isLogin, Boolean isInbound) in /home/runner/work/Minecraft-Console-Client/Minecraft-Console-Client/MinecraftClient/ChatBots/ReplayCaptu at MinecraftClient.McClient.<>c__DisplayClass172_0.<OnNetworkPacket>b__0(ChatBot bot) in /home/runner/work/Minecraft at MinecraftClient.McClient.DispatchBotEvent(Action1 action, IEnumerable`1 botList) in /home/runner/work/Minecraft-Console-Client/Minecraft-Console-Client/MinecraftClient/McClient.cs:line 2516

Actual Behavior

空指针异常

Steps to Reproduce the bug

  1. 在设置里启用replay
    2.我重启了app
  2. 输入/replay出现空指针

Attach screenshot here (If applicable)

野指针

Anythings that could help diagnosing the bug

Device

None

Operating System

None

Server Address (If applicable)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    a:bugCrash or feature not working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions