CryptoMorin / XSeries

Library for cross-version Minecraft Bukkit support and various efficient API methods.
https://www.spigotmc.org/threads/378136/
MIT License
403 stars 126 forks source link

[ReflectionUtils] - NoSuchFieldException 1.17 playerConnection field #148

Closed NewZAZ closed 2 years ago

NewZAZ commented 2 years ago

Description The problem happens when I open my gui and when I use the SkullUtils and I don't know why https://pastebin.com/bz6MMZDy

Version 1.17

Lorenzo0111 commented 2 years ago

Same error with reflection utils

SwartZCoding commented 2 years ago

Same error too on 1.17

divios commented 2 years ago

Same with me, seems to be a "warning" since all works as expected

SwartZCoding commented 2 years ago

Same with me, seems to be a "warning" since all works as expected

He stop the opening of my menu personnaly. So i think it's a error ^^.

CryptoMorin commented 2 years ago

It's a critical error for all reflection-based utilities yes and the fix is rather simple. I'm just finishing some unit tests before I release.

divios commented 2 years ago

Great, thanks for the quick response!. I may also go ahead and take a look at your unit test for inspiration since I wanted to do some for my plugins but I have no idea how to.

SwartZCoding commented 2 years ago

It's a critical error for all reflection-based utilities yes and the fix is rather simple. I'm just finishing some unit tests before I release.

Great, thanks for your quick response ! I look forward to the fix.

CryptoMorin commented 2 years ago

This should be patched in v8.5.0.1