mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2025-04-14 07:56:03 +02:00
Always load MISSIN_TEXTURE texture
This commit is contained in:
parent
06c97b74c1
commit
5a109b42c6
@ -331,6 +331,7 @@ private void loadTextures(Path root) throws IOException {
|
||||
|
||||
// collect all used textures
|
||||
Set<ResourcePath<Texture>> usedTextures = new HashSet<>();
|
||||
usedTextures.add(MISSING_TEXTURE);
|
||||
for (BlockModel model : blockModels.values()) {
|
||||
for (TextureVariable textureVariable : model.getTextures().values()) {
|
||||
if (textureVariable.isReference()) continue;
|
||||
|
Loading…
Reference in New Issue
Block a user