GlobbyPotato / Rockhounding_Chemistry

The purpose of Rockhounding Chemistry is to assembly and maintain an industrial area in which several machines handle various types of ingredients (solid, fluid and gaseous) to produce advanced material for mid-late game stages. It also leads to several features, functional applications and experiments.
Other
15 stars 17 forks source link

Crash when selecting a recipe on the Powder Mixer when cabinets not in place #178

Open jorgebonafe opened 1 year ago

jorgebonafe commented 1 year ago

If you have a Powder Mixer without the correctly placed Material or Elements cabinets, a crash happens with a nullpointerexception.

In the "drawGuiContainerBackgroundLayer", "drawGuiContainerForegroundLayer" and "drawScreen" methods of "UIPowderMixerController.java", the methods "getMaterialCabinet()" and "getElementsCabinet()" are called without a previous check to see if they exist.

austinsupercar commented 6 months ago

This happens to me too.