mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 02:52:02 -08:00
minor cleanup
This commit is contained in:
parent
7f2924b764
commit
6e6ecfb339
1 changed files with 3 additions and 3 deletions
|
|
@ -88,7 +88,7 @@ class GollumObsessedStalkerWatcher extends Watcher {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
playersPerName.computeIfAbsent(name, k -> new HashSet());
|
playersPerName.computeIfAbsent(name, k -> new HashSet<>());
|
||||||
playersPerName.get(name).add(playerId);
|
playersPerName.get(name).add(playerId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -171,7 +171,7 @@ enum GollumObsessedStalkerHint implements Hint {
|
||||||
name = gollumObj.getName();
|
name = gollumObj.getName();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (name.isEmpty()) {
|
if (name == null || name.isEmpty()) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue