LMBishop / Quests

Questing plugin for Minecraft, enabling the addition of goals for players.
https://www.spigotmc.org/resources/23696/
GNU General Public License v3.0
176 stars 85 forks source link

Unable to set value console spam bug #706

Closed moonies44 closed 1 month ago

moonies44 commented 2 months ago

Description of Bug

Hello! My issue is regarding a spamming error in my console

java.lang.IllegalStateException: Unable to set value of field private final net.minecraft.network.chat.numbers.NumberFormat net.minecraft.network.protocol.game.PacketPlayOutScoreboardObjective.g

I have no idea which this could indicate.

Steps to Reproduce

No idea, sorry - it seems to just randomly happen, possibly when they login when their file is loaded?

Environment

Agreements

Other

please see console logs here from my paste https://mclo.gs/iTCNoRn

Krakenied commented 2 months ago

Its scoreboard issue

moonies44 commented 2 months ago

Its scoreboard issue

Thank you for your reply, what should i do on my end to resolve this? I use the plugin animatedscoreboard to show a menu on the side of the screen when in the server, is it that?

Krakenied commented 2 months ago

Not sure what exactly is causing that - it can be also caused by wrong ProtocolLib version. AnimatedScoreboard shouldn't cause issues - I use it on my server and it works. Maybe it's your ASb config?

moonies44 commented 2 months ago

Not sure what exactly is causing that - it can be also caused by wrong ProtocolLib version. AnimatedScoreboard shouldn't cause issues - I use it on my server and it works. Maybe it's your ASb config?

what in the config should i be looking for that triggers this error?

Krakenied commented 2 months ago

It's not a config issue - probably your ProtocolLib version is incompatible with your server version. It's just a plugin sending invalid scoreboard number format. Thus I can't be sure about the exact cause.

moonies44 commented 2 months ago

It's not a config issue - probably your ProtocolLib version is incompatible with your server version. It's just a plugin sending invalid scoreboard number format. Thus I can't be sure about the exact cause.

i definitely a valid version my server is 1.20.4, and im using

Use the latest release for 1.8 through 1.20.4 so that can't be the cause either

Krakenied commented 2 months ago

Wait but, I missed that one, there is also Oraxen in the log:

227 | at ProtocolLib.jar//com.comphenix.protocol.reflect.accessors.DefaultFieldAccessor.set(DefaultFieldAccessor.java:44)
228 | at ProtocolLib.jar//com.comphenix.protocol.reflect.StructureModifier.writeInternal(StructureModifier.java:361)
229 | at ProtocolLib.jar//com.comphenix.protocol.reflect.StructureModifier.write(StructureModifier.java:324)
230 | at oraxen-1.178.0.jar//io.th0rgal.oraxen.font.packets.ScoreboardPacketListener.onPacketSending(ScoreboardPacketListener.java:22)

If it's easy to reproduce, can you try checking (like, on a local server) does disabling Oraxen fix that? 1.178.0. is not the latest version.

Edit: they have hide_scoreboard_numbers not working on 1.20.4+ in fixes part of changelog of 1.179.0