Skip to content

Commit

Permalink
AbstractSimpleEntrySet: Fixed addWoodTexture()'s logic'
Browse files Browse the repository at this point in the history
  • Loading branch information
Xelbayria committed Nov 29, 2024
1 parent 397a045 commit ca3ec3f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca3ec3f

Please sign in to comment.