Closed MaulikGajipara007 closed 1 year ago
No improved code quality. Removed record usage without telling anyone why. Weird renaming of Esp.INSTANCE Code quality doesn't improve by changing lambda to its own function handleLogs. Why move handler list to abstract superclass? This should actually lower performance of events. Why have two functions for comparing chunk x and chunk z just differently named when the variable names itself are already verbose enough.
I do not see any improvement in how you changed supported click types, I think the new code is worse.
Please provide more context for your changes. Why you did them, what exactly does improve 1.8 compatibility and why.
Nonetheless, I want to genuinely thank you for the effort of actually trying to refactor my plugin. It is a great way of starting to understand larger projects. If you want to try a plugin which has a lot more opportunity for refactoring, you could try out ProtocolLib 😄
Applied some refactoring techniques for improving the code quality.