diff --git a/forge/src/main/java/com/unlikepaladin/pfm/blocks/models/forge/PFMForgeBakedModel.java b/forge/src/main/java/com/unlikepaladin/pfm/blocks/models/forge/PFMForgeBakedModel.java index 093687416..072578d29 100644 --- a/forge/src/main/java/com/unlikepaladin/pfm/blocks/models/forge/PFMForgeBakedModel.java +++ b/forge/src/main/java/com/unlikepaladin/pfm/blocks/models/forge/PFMForgeBakedModel.java @@ -62,8 +62,11 @@ public List getQuadsWithTexture(List quads, List t for (BakedQuad quad : quads) { Identifier sprite = quad.func_187508_a().getId(); if (separatedQuads.containsKey(sprite)) { - if (!separatedQuads.get(sprite).contains(quad)) - separatedQuads.get(sprite).add(quad); + if (!separatedQuads.get(sprite).contains(quad)) { + List newQuadList = new ArrayList<>(separatedQuads.get(sprite)); + newQuadList.add(quad); + separatedQuads.put(sprite, newQuadList); + } continue; } List list = new ArrayList<>();