After removing some items from the default gun pack (I'm creating a modpack with only the pistols, and many attachments are removed), opening the gun crafting table causes a null pointer exception as the recipeIdGroups is null instead of an empty object. This crashes the client.
After adding the check for null the user is able to use the gun crafting table without crashing.
Reason for change
After removing some items from the default gun pack (I'm creating a modpack with only the pistols, and many attachments are removed), opening the gun crafting table causes a null pointer exception as the
recipeIdGroups
is null instead of an empty object. This crashes the client.After adding the check for
null
the user is able to use the gun crafting table without crashing.