Skip to content

Commit

Permalink
Merge branch 'architectury-1.17.1' into architectury-1.16.5
Browse files Browse the repository at this point in the history
  • Loading branch information
UnlikePaladin committed Dec 29, 2023
2 parents 504b6e2 + 06fa122 commit 0e59e8d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ public IModelData 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 0e59e8d

Please sign in to comment.