Open GilanRanger opened 1 year ago
Thank you. As soon as I get a chance, I will update the plugin.
Made this changes in #30, thank you. Just waiting for @Xezard review for now
i've found another fix based on: https://www.spigotmc.org/threads/unable-to-modify-entity-metadata-packet-using-protocollib-1-19-3.582442/
implemented it in my fork: https://github.com/Varunda/XGlow
only tested with 1.20, but it seems a bit simpler to implement for me than #30
I was recently trying to use XGlow in 1.19.3, but it was crashing when the client received a packet due to a cast exception.
The solution seems to be to change the setMetadata() in WrapperPlayServerEntityMetadata to this
And the onPacketSending in GlowAPI to this
I was having trouble getting a pull request/fork to work (and this solution is quite messy), so in the meantime, I'll just post this here so that if anyone needs to fix it they can.