Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-19 22:40:18 +01:00
Skin hashes can have less than 64 characters?
Dieser Commit ist enthalten in:
Ursprung
a91b531f99
Commit
cbe7256125
@ -116,7 +116,7 @@ public class CustomSkullRegistryPopulator {
|
|||||||
});
|
});
|
||||||
|
|
||||||
skinHashes.forEach((skinHash) -> {
|
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.");
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren