ProtocolLib

3M Downloads

Bug Report: Incompatibility Between ProtocolLib and Oraxen Plugins Causing Warnings and Exceptions

var1nthon opened this issue ยท 1 comments

commented
  • This issue is not solved in a development build

Describe the bug
When running a Minecraft server with ProtocolLib and Oraxen plugins, several warning messages appear in the server logs.
The errors indicate an inability to set a value of a field in the ClientboundSetObjectivePacket, causing an IllegalStateException.
Additionally, there is a ClassCastException where the server attempts to cast io.papermc.paper.scoreboard.numbers.BlankFormatImpl to java.util.Optional, which fails.

To Reproduce
Steps to reproduce the behavior:

  1. Start a Minecraft server with ProtocolLib and Oraxen plugins installed.
  2. Observe the server logs during startup or when specific scoreboard-related packets are sent.

Expected behavior
The server should start without these warnings and should handle the packets correctly without causing exceptions.

Environment
Minecraft Server Version: 1.21
ProtocolLib Version: 5.2.0
Oraxen Version: 1.178.0

Version Info
dump-2567-07-18_18.36.21.txt

Additional context
The issue seems to be related to the handling of scoreboard packets and the internal field setting within the ProtocolLib framework.
Ensuring compatibility between the versions of ProtocolLib and Oraxen might help in resolving the issue.

commented