CivMC / FactoryMod

Configurable factories for automating item production - Built for Paper 1.16.5
Other
0 stars 11 forks source link

Fix wordbank recipe. #20

Closed gaffy00 closed 2 years ago

gaffy00 commented 2 years ago

Closes #3

ItemUtils#getDisplayName is not returning null for items with no display name, but rather returning an empty string, thus always returning false when the recipe checks if enough materials are available.

Changing this to an is empty check appears to restore the originally intended behaviour; items with no display name are accepted, and items with a display name are rejected. fmod

wingzero54 commented 2 years ago

Thank you!