- Found a bug (When hitting a mob without swords or axes, mobs are now hitkilled with this update (1.0.6 Fixed).
Updated the code and separated it into classes.
- Added a check when the player is not holding anything in their hand to deal vanilla damage.
- Added a check when the sword or axe is sharpened to deal sharpened damage to the mob.
- The plugin was previously all in a single Main.java class.
* Now contains:
- AutoClickTask.java
- ConfigManager.java
- Main.java (Main for the plugin to run)
- PlayerCache.java
- UpdateChecker.java (Check for any plugin updates on spigotmc.org)