You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.
I've analyzed the plugin's code and here are some tips to improve it:
Make multiple classes, as the Main class is full of junk:
The main class listens to events on big method (InventoryClickEvent)
The main class manages commands (You can make a class that implements CommandExecutor)
Some more issues:
You are using a public static Map whose key is a Player (This will be pretty bad, since static variables can't be properly garbage collected, and storing player data using the Player class is pretty bad, you should use the UUID class and call Bukkit.getPlayer(uuid) when needed)
The text was updated successfully, but these errors were encountered:
All the things noted were from the previous author, next few updates hopefully I will get to cleaning up the past code and improving the quality. I will leave this open and keep you updated!
I've analyzed the plugin's code and here are some tips to improve it:
Make multiple classes, as the Main class is full of junk:
Some more issues:
The text was updated successfully, but these errors were encountered: