Skip to content

Commit

Permalink
fix texture assignment for fallbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
sisby-folk committed Mar 11, 2024
1 parent 543a70f commit 6a6f7a8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ public void registerFallback(Identifier id, RegistryEntry<Biome> biome) {

if (fallbackBiome != null && contains(fallbackBiome)) {
map.put(id, map.get(fallbackBiome));
for (TileElevation layer : TileElevation.values()) {
map.put(Identifier.tryParse(id + "_" + layer.getName()), map.get(Identifier.tryParse(fallbackBiome + "_" + layer.getName())));
}
AntiqueAtlas.LOG.warn("[Antique Atlas] Set fallback biome for {} to {}. You can set a more fitting texture using a resource pack!", id, fallbackBiome);
} else {
AntiqueAtlas.LOG.error("[Antique Atlas] No fallback could be found for {}. This shouldn't happen! This means the biome is not in ANY conventional or vanilla tag on the client!", id.toString());
Expand Down

0 comments on commit 6a6f7a8

Please sign in to comment.