Add namespace

This commit is contained in:
Sollace 2022-05-26 00:44:13 +02:00
parent 6cb383952c
commit 58265838b2

View file

@ -85,7 +85,7 @@ class NpcClothingFeature<
Identifier typeId = Registry.VILLAGER_TYPE.getId(type); Identifier typeId = Registry.VILLAGER_TYPE.getId(type);
Identifier profId = Registry.VILLAGER_PROFESSION.getId(profession); Identifier profId = Registry.VILLAGER_PROFESSION.getId(profession);
Identifier key = new Identifier((typeId + "/" + profId + "/" + level).replace(':', '_')); Identifier key = new Identifier("minelittlepony", (typeId + "/" + profId + "/" + level).replace(':', '_'));
if (MinecraftClient.getInstance().getTextureManager().getOrDefault(key, null) == null) { if (MinecraftClient.getInstance().getTextureManager().getOrDefault(key, null) == null) {
TextureFlattener.flatten(computeTextures(type, profession, typeId, profId, level), (Identifier)key); TextureFlattener.flatten(computeTextures(type, profession, typeId, profId, level), (Identifier)key);