Use getPlayerExact

This commit is contained in:
Andre601 2021-01-01 18:19:07 +01:00
parent 8fa0f73a46
commit 6a69ec833f
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ public final class CommandParse extends PlaceholderCommand {
@Nullable
private OfflinePlayer resolvePlayer(@NotNull final String name) {
OfflinePlayer target = Bukkit.getPlayer(name);
OfflinePlayer target = Bukkit.getPlayerExact(name);
if (target == null) {
// Not the best option, but Spigot doesn't offer a good replacement (as usual)