bugfix when only using 1 cape and 1.20.6

This commit is contained in:
IIpho3nix
2024-06-17 15:10:22 +03:00
parent 0defba52c7
commit 96f5d0a1e6
4 changed files with 9 additions and 6 deletions
@@ -95,6 +95,9 @@ public class CapesMod implements ModInitializer {
IdentifierUtils.registerBufferedImageTexture(capeCacheIdentifier, img);
lastCache = cape;
}
} else {
capeCacheIdentifier = null;
lastCache = cape;
}
} else {
if (cape.endsWith(".gif")) {