Closed WalshyDev closed 8 months ago
Your Pull Request was automatically labelled as: "✨ Fix" Thank you for contributing to this project! ❤️
The SonarCloud Quality Gate passed, but some issues were introduced.
3 New issues
0 Security Hotspots
80.0% Coverage on New Code
0.0% Duplication on New Code
A Slimefun preview build is available for testing! Commit: 34beb766
https://preview-builds.walshy.dev/download/Slimefun/4089/34beb766
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
Small bug in the latest change causes an NPE if interacting with air.
Proposed changes
Add a null check before we check for pending deletion.
Related Issues (if applicable)
https://paste.walshy.dev/IwsWtVpt568o
Checklist
Nonnull
andNullable
annotations to my methods to indicate their behaviour for null values