Closed mechoriet closed 1 year ago
added a better compat check since before it was checking for every packet if protocolsupport was there which showed up quite high in the hotspots so it is now a once check and save result for future use after this change I've haven't seen no dropped players and way lower cpu usage since it doesn't have to go and find the plugin in a list again and transform the name to lowercase for every check
also removed some unneeded decompile casts that where visable on structuregenerate Long.valueof( a long value) that where like 20% of the whole method that was ran
port asm code generation for event listeners instead of reflection(should improve performance)
moved place to check if there are listeners to the SimplePluginManager just before fired
port Performance & Concurrency Improvements to Permissions no double lookup
packet limiter fix compile warning
avoid double io lookup if file exists
don't allow pickup delay to go below 0
Check channel before reading and change isOpen calls to IsActive
remove some more places where blockpositions are used often and can just be 3 int's x,y,z