From cbe72561253d54d7d43bb767744c976fc35cc82f Mon Sep 17 00:00:00 2001 From: davchoo <4722249+davchoo@users.noreply.github.com> Date: Tue, 31 Jan 2023 21:02:18 -0500 Subject: [PATCH] Skin hashes can have less than 64 characters? --- .../geyser/registry/populator/CustomSkullRegistryPopulator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/geysermc/geyser/registry/populator/CustomSkullRegistryPopulator.java b/core/src/main/java/org/geysermc/geyser/registry/populator/CustomSkullRegistryPopulator.java index 6210f1081..bd1b4db99 100644 --- a/core/src/main/java/org/geysermc/geyser/registry/populator/CustomSkullRegistryPopulator.java +++ b/core/src/main/java/org/geysermc/geyser/registry/populator/CustomSkullRegistryPopulator.java @@ -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; }