mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-11-23 10:55:10 +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) {
|
||||
if (!this.individualText.equals(individualText)) {
|
||||
if (!Objects.equals(this.individualText, individualText)) {
|
||||
this.individualText = individualText;
|
||||
return true;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user