Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-19 22:40:18 +01:00
Account for if custom skulls are added on 1st run
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
Dieser Commit ist enthalten in:
Ursprung
0d110ca4f4
Commit
f1bd04a71d
@ -28,10 +28,8 @@ package org.geysermc.geyser.pack;
|
|||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import org.geysermc.geyser.GeyserImpl;
|
import org.geysermc.geyser.GeyserImpl;
|
||||||
import org.geysermc.geyser.api.event.lifecycle.GeyserLoadResourcePacksEvent;
|
import org.geysermc.geyser.api.event.lifecycle.GeyserLoadResourcePacksEvent;
|
||||||
import org.geysermc.geyser.registry.BlockRegistries;
|
|
||||||
import org.geysermc.geyser.util.FileUtils;
|
import org.geysermc.geyser.util.FileUtils;
|
||||||
import org.geysermc.geyser.text.GeyserLocale;
|
import org.geysermc.geyser.text.GeyserLocale;
|
||||||
import org.geysermc.geyser.util.FileUtils;
|
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
@ -80,9 +78,7 @@ public class ResourcePack {
|
|||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
GeyserImpl.getInstance().getLogger().error("Could not create packs directory", e);
|
GeyserImpl.getInstance().getLogger().error("Could not create packs directory", e);
|
||||||
}
|
}
|
||||||
|
// Still keep going since the user may have defined custom skulls
|
||||||
// As we just created the directory it will be empty
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
List<Path> resourcePacks;
|
List<Path> resourcePacks;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren