Slimefun / Slimefun4

Slimefun 4 - A unique Spigot/Paper plugin that looks and feels like a modpack. We've been giving you backpacks, jetpacks, reactors and much more since 2013.
GNU General Public License v3.0
968 stars 543 forks source link

Chore/miner android cleanup #4233

Open Intybyte opened 1 month ago

Intybyte commented 1 month ago

Description

Reduce code duplication in this class.

Proposed changes

Refactor this class and add a new method to check if a block can be broken.

Related Issues (if applicable)

https://sonarcloud.io/project/issues?open=AXgez-NyX1at_fPAy8-u&id=Slimefun_Slimefun4

Checklist

github-actions[bot] commented 1 month ago

Your Pull Request was automatically labelled as: "🧹 Chores" Thank you for contributing to this project! ❤️

github-actions[bot] commented 1 month ago

Slimefun preview build

A Slimefun preview build is available for testing! Commit: b3c58864

https://preview-builds.walshy.dev/download/Slimefun/4233/b3c58864

Note: This is not a supported build and is only here for the purposes of testing. Do not run this on a live server and do not report bugs anywhere but this PR!