3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-10-02 08:00:07 +02:00

Skin hashes can have less than 64 characters?

Dieser Commit ist enthalten in:
davchoo 2023-01-31 21:02:18 -05:00
Ursprung a91b531f99
Commit cbe7256125
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 501B6F4FD961CF9A

Datei anzeigen

@ -116,7 +116,7 @@ public class CustomSkullRegistryPopulator {
});
skinHashes.forEach((skinHash) -> {
if (!skinHash.matches("^[a-fA-F0-9]{64}$")) {
if (!skinHash.matches("^[a-fA-F0-9]+$")) {
GeyserImpl.getInstance().getLogger().error("Skin hash " + skinHash + " does not match required format ^[a-fA-F0-9]{64}$ and will not be added as a custom block.");
return;
}