mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-11-10 12:49:43 +01:00
Fix NullPointerException
This commit is contained in:
parent
66bdda8bed
commit
e8b2239c47
@ -51,7 +51,7 @@ class TextLineViewer extends Viewer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean updateIndividualText(String individualText) {
|
public boolean updateIndividualText(String individualText) {
|
||||||
if (!this.individualText.equals(individualText)) {
|
if (!Objects.equals(this.individualText, individualText)) {
|
||||||
this.individualText = individualText;
|
this.individualText = individualText;
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user