Skip to content

Commit 7331d03

Browse files
committed
Fix npe when infoTitle is null
1 parent 91b5c50 commit 7331d03

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

common/src/main/java/io/github/notenoughupdates/moulconfig/gui/editors/GuiOptionEditorInfoText.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ public GuiOptionEditorInfoText(ProcessedOption option, String infoTitle) {
3535
super(option);
3636

3737
this.infoTitle = infoTitle;
38-
if (this.infoTitle != null && this.infoTitle.isEmpty()) this.infoTitle = null;
3938
}
4039

4140
@Override

0 commit comments

Comments
 (0)