Cloak fix

This commit is contained in:
2025-09-03 02:57:41 +02:00
parent 8089deb172
commit a464635075
@@ -202,7 +202,13 @@ public class Cloaks {
currentFrame = 0; currentFrame = 0;
} }
return frames.get(currentFrame).getTextureId(); Identifier identifier = frames.get(currentFrame).getTextureId();
if (identifier == null) {
return Identifier.of(SaturnClient.MOD_ID, "textures/cloaks/" + cloakName + ".png");
}
return identifier;
} else { } else {
return Identifier.of(SaturnClient.MOD_ID, "textures/cloaks/" + cloakName + ".png"); return Identifier.of(SaturnClient.MOD_ID, "textures/cloaks/" + cloakName + ".png");
} }