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
958 stars 547 forks source link

Multi tools won't reset their modes after server restart #4122

Closed WalshyDev closed 3 months ago

WalshyDev commented 7 months ago

Description

Multi tools reset their mode after server restart. I found it really annoying and so did my players, so I decided to fix that. This pull request also adds a display of current multi tool mode in its lore. Feel free to improve my code. I tried to achieve my goal without changing too much stuff, so it shouldn't break anything.

Captura de pantalla 2023-12-28 231315

Proposed changes

Checklist

github-actions[bot] commented 7 months ago
Pro Tip! You can help us label your Pull Requests by using the following branch naming convention next time you create a pull request. ❤️ Branch naming convention Label
feature/** 🎈 Feature
fix/** ✨ Fix
chore/** 🧹 Chores
api/** 🔧 API
performance/** 💡 Performance Optimization
compatibility/** 🤝 Compatibility

If your changes do not fall into any of these categories, don't worry. You can just ignore this message in that case! 👀

sonarcloud[bot] commented 7 months ago

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

7 New issues
0 Security Hotspots
13.2% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

github-actions[bot] commented 7 months ago

Slimefun preview build

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

https://preview-builds.walshy.dev/download/Slimefun/4122/e24a51a3

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!

womzil commented 5 months ago

Sorry if I missed something obvious, but what has to be done in order for this change to be merged with the master branch?