mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 13:09:53 +00:00
Implement null check in drawToolStats (#251)
This commit is contained in:
1 parent
03968731d9
commit
a59ee11285
1 file changed
+2
@@ -164,6 +164,8 @@ public class CraftingStationGui extends GuiContainer implements INEIGuiHandler {
|
||||
}
|
||||
|
||||
void drawToolStats(ItemStack stack) {
|
||||
if (stack == null) return;
|
||||
|
||||
if (stack.getItem() instanceof IModifyable) ToolStationGuiHelper.drawToolStats(stack, descTextLeft + 10, 0);
|
||||
|
||||
int matID = PatternBuilder.instance.getPartID(stack);
|
||||
|
||||
Reference in new issue
Block a user