Fix console error spamming on Yatopia #2
Closed
minecraftplayer456
wants to merge 1 commits from minecraftplayer456/LagAssist:master
into master
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'minecraftplayer456/LagAssist:master'
Deleting a branch is permanent. It CANNOT be undone. Continue?
The not thread-safe Bukkit-API was called async instead of sync with Yatopia minecraft server. This led the AsyncCatcher throwing an Exception every time the playoutspawnentity packet was send.
I changed the call so that the Bukkit-API is called sync.
Issue: #1
Hi, sorry for the late response. Calling the method sync is not the solution as this will have to sync for all packets sent. When a large amount of entities are spawned, this will lead to significant performance issues and slow down the netty threads.
I've implemented a patch to now try to dissect the packet in later versions rather than unsafely call a sync method async. Hope this solves the issue.
Thank you for coming with the solution and diagnosing where the problem is from. If you didn't have a commercial license, I believe your contribution is worth receiving one.
Best Regards,
Stefan