Fix rendering lag when skull's username is empty. (#324)

This commit is contained in:
ZekerZhayard authored and GitHub committed 2025-01-12 00:10:00 +08:00
1 parent 4d0ebcc1f7
commit 8080aa7ab5
8 files changed
+19 -6

No files matched your search

@@ -4,6 +4,7 @@ import net.minecraft.util.ResourceLocation;
public class TextureManager {
public ITextureObject getTexture(ResourceLocation location) { return null; }
public boolean loadTexture(ResourceLocation location, ITextureObject object) { return false; }
public void loadTexture(ResourceLocation location, AbstractTexture texture) {}
public boolean loadTexture(ResourceLocation location, ITextureObject texture) { return false; }
public void registerAndLoad(ResourceLocation resourceLocation, ReloadableTexture reloadableTexture) {}
}