Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-17 12:00:07 +01:00
SPIGOT-4301: Fix more invalid enchants
Dieser Commit ist enthalten in:
Ursprung
5d0d83bb90
Commit
2a271162af
@ -9,6 +9,9 @@ public final class CraftNamespacedKey {
|
||||
}
|
||||
|
||||
public static NamespacedKey fromStringOrNull(String string) {
|
||||
if (string == null || string.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
MinecraftKey minecraft = MinecraftKey.a(string);
|
||||
return (minecraft == null) ? null : fromMinecraft(minecraft);
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren