Fix NullPointerException

This commit is contained in:
filoghost 2021-09-25 12:09:58 +02:00
parent 66bdda8bed
commit e8b2239c47
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class TextLineViewer extends Viewer {
}
public boolean updateIndividualText(String individualText) {
if (!this.individualText.equals(individualText)) {
if (!Objects.equals(this.individualText, individualText)) {
this.individualText = individualText;
return true;
} else {