mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Skin hashes can have less than 64 characters?
This commit is contained in:
parent
a91b531f99
commit
cbe7256125
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue