Appease the alex
This commit is contained in:
parent
4ca80c755e
commit
3b0024f13b
@ -67,8 +67,13 @@ public class QuestTracker<T extends Game> implements Listener
|
|||||||
boolean cont = true;
|
boolean cont = true;
|
||||||
for (String questItem : quest.getItem())
|
for (String questItem : quest.getItem())
|
||||||
{
|
{
|
||||||
for (String str : Arrays.stream(items).filter(Objects::nonNull).collect(Collectors.toList()))
|
for (String str : items)
|
||||||
{
|
{
|
||||||
|
if (str == null || str.isEmpty())
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
String first = str.replaceAll(" ", "");
|
String first = str.replaceAll(" ", "");
|
||||||
String compare = questItem.replaceAll(" ", "");
|
String compare = questItem.replaceAll(" ", "");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user