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
943 stars 536 forks source link

Fix errors in SlimefunUtils.java #4213

Closed mcchampions closed 3 weeks ago

mcchampions commented 3 weeks ago

Description

4212

This issue explains why to change.

or move equalsItemMeta check to if (id != null && id.equals(possibleItemId)) {?

Proposed changes

Related Issues (if applicable)

4212

Checklist

github-actions[bot] commented 3 weeks 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! ๐Ÿ‘€