Skip to content

Commit

Permalink
Merge branch 'architectury-1.17.1' into architectury-1.18.1
Browse files Browse the repository at this point in the history
  • Loading branch information
UnlikePaladin committed Dec 28, 2023
2 parents 094af0b + ae8d50e commit 585521f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"credit": "By UnlikePaladin",
"textures": {
"particle": "block/oak_planks",
"legs": "block/oak_log"
},
"elements": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public List<BakedQuad> getQuadsWithTexture(List<BakedQuad> quads, List<Sprite> t
continue;
}
List<BakedQuad> list = new ArrayList<>();
list.add(quad);
separatedQuads.put(sprite, list);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public List<BakedQuad> getQuads(@Nullable BlockState state, @Nullable Direction
boolean right = set.get(1);
baseQuads.addAll(getTemplateBakedModels().get(0).getQuads(state, side, rand, extraData));
if (left && right) {
baseQuads.addAll(getTemplateBakedModels().get(4).getQuads(state, side, rand, extraData));
secondaryQuads.addAll(getTemplateBakedModels().get(4).getQuads(state, side, rand, extraData));
}
if (!left && right) {
secondaryQuads.addAll(getTemplateBakedModels().get(1).getQuads(state, side, rand, extraData));
Expand Down

0 comments on commit 585521f

Please sign in to comment.