Skip to content

Commit

Permalink
Merge branch 'architectury-1.18.2' into architectury-1.19.2
Browse files Browse the repository at this point in the history
  • Loading branch information
UnlikePaladin committed Dec 29, 2023
2 parents 4e53f63 + 4862095 commit cfe7d76
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ public ModelData getModelData(@NotNull BlockRenderView world, @NotNull BlockPos

Map<Identifier, List<BakedQuad>> separatedQuads = new ConcurrentHashMap<>();
public List<BakedQuad> getQuadsWithTexture(List<BakedQuad> quads, List<Sprite> toReplace, List<Sprite> replacements) {
if (quads == null)
return Collections.emptyList();

if (replacements == null || toReplace == null || toReplace.size() != replacements.size()) {
PaladinFurnitureMod.GENERAL_LOGGER.warn("Replacement list is not the same size or was null, skipping transformation");
return quads;
Expand Down

0 comments on commit cfe7d76

Please sign in to comment.