mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-28 21:45:26 +01:00
Added null check
This commit is contained in:
parent
44ad32df50
commit
37d2039a67
@ -179,7 +179,7 @@ public abstract class PagedSelector<T>
|
||||
description.add("");
|
||||
description.add(this.user.getTranslation(Constants.TIPS + "left-click-to-edit"));
|
||||
|
||||
if (!this.searchString.isEmpty())
|
||||
if (this.searchString != null && !this.searchString.isEmpty())
|
||||
{
|
||||
description.add(this.user.getTranslation(Constants.TIPS + "right-click-to-clear"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user