From f1bd04a71db4d65dcdca66d44dadaf62406efb56 Mon Sep 17 00:00:00 2001 From: Joshua Castle <26531652+Kas-tle@users.noreply.github.com> Date: Sun, 5 Mar 2023 20:26:13 -0800 Subject: [PATCH] Account for if custom skulls are added on 1st run Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com> --- .../main/java/org/geysermc/geyser/pack/ResourcePack.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/src/main/java/org/geysermc/geyser/pack/ResourcePack.java b/core/src/main/java/org/geysermc/geyser/pack/ResourcePack.java index 6bc7d4456..40b11a883 100644 --- a/core/src/main/java/org/geysermc/geyser/pack/ResourcePack.java +++ b/core/src/main/java/org/geysermc/geyser/pack/ResourcePack.java @@ -28,10 +28,8 @@ package org.geysermc.geyser.pack; import lombok.Getter; import org.geysermc.geyser.GeyserImpl; import org.geysermc.geyser.api.event.lifecycle.GeyserLoadResourcePacksEvent; -import org.geysermc.geyser.registry.BlockRegistries; import org.geysermc.geyser.util.FileUtils; import org.geysermc.geyser.text.GeyserLocale; -import org.geysermc.geyser.util.FileUtils; import java.io.File; import java.io.IOException; @@ -80,9 +78,7 @@ public class ResourcePack { } catch (IOException e) { GeyserImpl.getInstance().getLogger().error("Could not create packs directory", e); } - - // As we just created the directory it will be empty - return; + // Still keep going since the user may have defined custom skulls } List resourcePacks;