Skip to content

Commit

Permalink
Update PlaceholdersMap.java
Browse files Browse the repository at this point in the history
  • Loading branch information
xdnw committed May 20, 2024
1 parent eacf90f commit 4105b20
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ private Set<NationOrAlliance> nationOrAlliancesSingle(ValueStore store, String i
User user = member.getUser();
DBNation nation = DiscordUtil.getNation(user);
if (nation == null) continue;
if (member.getEffectiveName().equalsIgnoreCase(input) || user.getName().equalsIgnoreCase(input) || user.getGlobalName().equalsIgnoreCase(input)) {
if (member.getEffectiveName().equalsIgnoreCase(input) || user.getName().equalsIgnoreCase(input) || input.equalsIgnoreCase(user.getGlobalName())) {
return Set.of(nation);
}
}
Expand Down

0 comments on commit 4105b20

Please sign in to comment.