Ok just a couple more suggestions:
1) For the getPossibleBlocks(World world) method, I suggest removing the parameter. You can just use the players' worlds instead of using a parameter, and that would allow the plugin to function in all worlds.
2) Rather than dropping 1 leaf every 20 seconds...
These two lines jumped out at me right away:
ArrayList<Block> blocks = new ArrayList<>(); //new ArrayList<Block>();
blocks.clear();
Why do you clear an empty ArrayList?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.