From e75828fdb9aa3487f2dee2df05d6f5282d9bd07e Mon Sep 17 00:00:00 2001 From: UnlikePaladin <36827970+UnlikePaladin@users.noreply.github.com> Date: Sun, 29 Oct 2023 22:47:21 -0600 Subject: [PATCH] Fix Quark's missing textures --- .../com/unlikepaladin/pfm/blocks/models/ModelHelper.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/com/unlikepaladin/pfm/blocks/models/ModelHelper.java b/common/src/main/java/com/unlikepaladin/pfm/blocks/models/ModelHelper.java index e4c50b866..3b6ec5505 100644 --- a/common/src/main/java/com/unlikepaladin/pfm/blocks/models/ModelHelper.java +++ b/common/src/main/java/com/unlikepaladin/pfm/blocks/models/ModelHelper.java @@ -173,8 +173,10 @@ else if(idExists(getLogId(block, "_bottom"), ResourceType.CLIENT_RESOURCES, IdLo id = getLogId(block, "_bottom"); } else { - PFMDataGen.LOGGER.warn("Couldn't find texture for, {}", block); - id = MissingSprite.getMissingSpriteId(); + if (!Registry.BLOCK.getId(block).getNamespace().equals("quark")) { + PFMDataGen.LOGGER.warn("Couldn't find texture for, {}", block); + } + id = Texture.getSubId(block, postfix); } blockToTextureMap.put(pair, id); return id;