ThizThizzyDizzy / tree-feller

The most customizable tree feller ever made.
GNU General Public License v3.0
39 stars 11 forks source link

Add Folia Support #78

Open ThizThizzyDizzy opened 1 year ago

nyancat-hu commented 11 months ago

I made a temporary version here Except for the GUI menu, most of them are working normally https://github.com/nyancat-hu/tree-feller

ThizThizzyDizzy commented 11 months ago

due to restructuring the project to maven, it's difficult to see what all has actually changed; But I do see various changes to anvilGUI and to anything involving bukkit tasks(?) Are these changes still compatible with bukkit?

nyancat-hu commented 11 months ago

due to restructuring the project to maven, it's difficult to see what all has actually changed; But I do see various changes to anvilGUI and to anything involving bukkit tasks(?) Are these changes still compatible with bukkit?

I changed the function call similar to BukkitRunnable.runTask() to Bukkit.getRegionTimer().runAtFixedRate() in Folia API There has been little change in other aspects At least the animation of chopping trees is working properly with me

Sorry, maven did make it difficult to compare the code. I will try uploading a code without maven tomorrow😂