Added a check to determine if the item in the output slot is UU-Matter before proceeding with the Mass Fabricator's processing. This is to ensure that the Mass Fabricator will not increase the amount of the itemstack in the output slot if it is not a UU-Matter. Changed isItemSimilar to isItem to respect the backwards compatibility setting of Slimefun which can reduce performance cost if it is disabled.
Additions/Changes/Removals
Add a check to determine if the item in the output slot is UU-Matter before proceeding with the Mass Fabricator's processing
Change isItemSimilar to isItem
Related Issues
Fixes #120
Checklist
[x] I have fully tested the proposed changes and promise that they will not break everything into chaos.
[x] I have also tested the proposed changes in combination with base Slimefun and made sure nothing breaks/unexpected happens.
[x] I followed the existing code standards and didn't mess up the formatting.
[ ] I did my best to add documentation to any public classes or methods I added which may not be obvious to maintainers.
[ ] I have added Nonnull and Nullable annotations to my methods to indicate their behaviour for null values
Short Description
Added a check to determine if the item in the output slot is UU-Matter before proceeding with the Mass Fabricator's processing. This is to ensure that the Mass Fabricator will not increase the amount of the itemstack in the output slot if it is not a UU-Matter. Changed isItemSimilar to isItem to respect the backwards compatibility setting of Slimefun which can reduce performance cost if it is disabled.
Additions/Changes/Removals
Related Issues
Fixes #120
Checklist
Nonnull
andNullable
annotations to my methods to indicate their behaviour for null values