diff --git a/src/main/java/com/terraformersmc/modmenu/gui/widget/ModListWidget.java b/src/main/java/com/terraformersmc/modmenu/gui/widget/ModListWidget.java index e9889d01..c6e809e7 100644 --- a/src/main/java/com/terraformersmc/modmenu/gui/widget/ModListWidget.java +++ b/src/main/java/com/terraformersmc/modmenu/gui/widget/ModListWidget.java @@ -234,13 +234,13 @@ protected void renderList(DrawContext DrawContext, int mouseX, int mouseY, float buffer.vertex(matrix, selectionRight - 1, entryTop + entryHeight + 1, 0.0F); buffer.vertex(matrix, selectionRight - 1, entryTop - 1, 0.0F); buffer.vertex(matrix, entryLeft + 1, entryTop - 1, 0.0F); - try - { + try { builtBuffer = buffer.end(); BufferRenderer.drawWithGlobalProgram(builtBuffer); builtBuffer.close(); + } catch (Exception e) { + // Ignored } - catch (Exception ignored) {} } entryLeft = this.getRowLeft();