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 858942135..43cd1a489 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 @@ -60,8 +60,11 @@ public List getQuadsWithTexture(List quads, List t for (BakedQuad quad : quads) { Identifier sprite = quad.getSprite().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<>();