-
Notifications
You must be signed in to change notification settings - Fork 546
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
Added McMMO anvil fix #4182
base: master
Are you sure you want to change the base?
Added McMMO anvil fix #4182
Conversation
- Now you cannot repair or use sf materials to repair other items - Translation key mcmmo-repair should be added
Pro Tip!
If your changes do not fall into any of these categories, don't worry. You can just ignore this message in that case! 👀 |
src/main/java/io/github/thebusybiscuit/slimefun4/integrations/McMMOIntegration.java
Outdated
Show resolved
Hide resolved
Slimefun preview buildA Slimefun preview build is available for testing! https://preview-builds.walshy.dev/download/Slimefun/4182/34d861b5
|
…McMMOIntegration.java Co-authored-by: J3fftw <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IF this is tested and works then LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah if someone can confirm testing on this that'd be awesome
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Fixing a bug where having mcmmo would allow you to repair for instance a gold chestplate with 4k gold, and then dismantling it for normal gold, or using lead to repair an iron sword. You can use slimefun items to repair vanilla items and use items to repair Slimefun items
Proposed changes
Added and event listener for the repair event.
Add a translation key for the error mcmmo.anvil-repair
Related Issues (if applicable)
Resolves #4181
Checklist
Nonnull
andNullable
annotations to my methods to indicate their behaviour for null values