mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-18 00:46:55 +01:00
Use getPlayerExact
This commit is contained in:
parent
8fa0f73a46
commit
6a69ec833f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user