-
Notifications
You must be signed in to change notification settings - Fork 543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/cargo enchants #4190
base: master
Are you sure you want to change the base?
Fix/cargo enchants #4190
Conversation
- Removed unused imports - Removed wildcard imports
Your Pull Request was automatically labelled as: "✨ Fix" |
before i review this i would really like some benchmarks for this. |
Slimefun preview buildA Slimefun preview build is available for testing! https://preview-builds.walshy.dev/download/Slimefun/4190/eab59726
|
Now allows ItemStackWrapper with no meta, by creating one with ItemFactory, this will improve performance until isItemSimilar will be changed.
Instead of calling ItemFactory#getItemMeta, made equalsItemMeta support null values
Back to using itemFactory, caching to but now I cache the result to optimize it
…oEnchants # Conflicts: # src/main/java/io/github/thebusybiscuit/slimefun4/utils/SlimefunUtils.java
Now it uses |
Description
This PR aims to fix a confirmed bug regarding enchants not being filtered.
Proposed changes
Adding a filter option to cargo nodes for vanilla enchants.
Related Issues (if applicable)
Resolves #3341
Checklist
Nonnull
andNullable
annotations to my methods to indicate their behaviour for null values