3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-15 04:20:04 +01:00

Check for blank OfflinePlayer Names

Dieser Commit ist enthalten in:
md_5 2019-01-05 16:21:07 +11:00
Ursprung f2746a5eb2
Commit 7deba1c606

Datei anzeigen

@ -1318,6 +1318,7 @@ public final class CraftServer implements Server {
@Deprecated
public OfflinePlayer getOfflinePlayer(String name) {
Validate.notNull(name, "Name cannot be null");
Validate.notEmpty(name, "Name cannot be empty");
OfflinePlayer result = getPlayerExact(name);
if (result == null) {