Skip to content

Commit

Permalink
Fix plate armor embellishments
Browse files Browse the repository at this point in the history
  • Loading branch information
KnightMiner committed Jan 19, 2023
1 parent 3c5c552 commit 0b70ad4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private ResourceLocation getArmorTexture(String material, int variant) {
variantId = MaterialIds.cobalt;
}
ResourceLocation location = variantId.getLocation('_');
return new ResourceLocation(name.getNamespace() + String.format("textures/models/armor/%s/layer_%d_%s_%s.png", name.getPath(), variant, location.getNamespace(), location.getPath()));
return new ResourceLocation(name.getNamespace(), String.format("textures/models/armor/%s/layer_%d_%s_%s.png", name.getPath(), variant, location.getNamespace(), location.getPath()));
}

private void setup(HumanoidModel<?> base, ItemStack stack, EquipmentSlot slot) {
Expand Down

0 comments on commit 0b70ad4

Please sign in to comment.