Open Intybyte opened 1 month ago
Your Pull Request was automatically labelled as: "🧹 Chores" Thank you for contributing to this project! ❤️
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!
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
Nonnull
andNullable
annotations to my methods to indicate their behaviour for null values