diff --git a/common/src/main/java/net/mehvahdjukaar/every_compat/api/AbstractSimpleEntrySet.java b/common/src/main/java/net/mehvahdjukaar/every_compat/api/AbstractSimpleEntrySet.java index 4f349a21..a784e8a1 100644 --- a/common/src/main/java/net/mehvahdjukaar/every_compat/api/AbstractSimpleEntrySet.java +++ b/common/src/main/java/net/mehvahdjukaar/every_compat/api/AbstractSimpleEntrySet.java @@ -423,24 +423,24 @@ public void addWoodTexture(WoodType wood, DynClientResourcesGenerator handler, R return t; }, isOnAtlas); } - // Regions Unexplored - if (wood.getNamespace().equals("regions_unexplored")) { + else if (wood.getNamespace().equals("regions_unexplored")) { handler.addTextureIfNotPresent(manager, relativePath, () -> { var t = textureSupplier.get(); maybeBrimwood(t, manager, relativePath, wood); return t; }, isOnAtlas); } - // Advent of Ascension - if (wood.getNamespace().equals("aoa3")) { + else if (wood.getNamespace().equals("aoa3")) { handler.addTextureIfNotPresent(manager, relativePath, () -> { var t = textureSupplier.get(); maybeStrangewood(t, manager, wood); return t; }, isOnAtlas); } + else + handler.addTextureIfNotPresent(manager, relativePath, textureSupplier); } //for ecologics