mirror of
				https://github.com/PlaceholderAPI/PlaceholderAPI
				synced 2025-10-31 06:12:28 +01:00 
			
		
		
		
	Use getPlayerExact
This commit is contained in:
		| @@ -211,7 +211,7 @@ public final class CommandParse extends PlaceholderCommand { | |||||||
|  |  | ||||||
|   @Nullable |   @Nullable | ||||||
|   private OfflinePlayer resolvePlayer(@NotNull final String name) { |   private OfflinePlayer resolvePlayer(@NotNull final String name) { | ||||||
|     OfflinePlayer target = Bukkit.getPlayer(name); |     OfflinePlayer target = Bukkit.getPlayerExact(name); | ||||||
|      |      | ||||||
|     if (target == null) { |     if (target == null) { | ||||||
|       // Not the best option, but Spigot doesn't offer a good replacement (as usual) |       // Not the best option, but Spigot doesn't offer a good replacement (as usual) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user