mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 04:27:59 +01:00
Add namespace
This commit is contained in:
parent
6cb383952c
commit
58265838b2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue