mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-24 19:45:14 +01:00
Null check
This commit is contained in:
parent
e8b4129c3a
commit
44ad32df50
@ -189,7 +189,7 @@ public abstract class CommonPagedPanel<T> extends CommonPanel
|
|||||||
description.add("");
|
description.add("");
|
||||||
description.add(this.user.getTranslation(Constants.TIPS + "left-click-to-edit"));
|
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"));
|
description.add(this.user.getTranslation(Constants.TIPS + "right-click-to-clear"));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user