Proper model path

This commit is contained in:
Taylor Shuler 2014-08-03 22:42:37 +01:00
parent 1e719e8a2d
commit 729968a509
1 changed files with 2 additions and 3 deletions

View File

@ -32,9 +32,8 @@ public class TileEntityIronChestRenderer extends TileEntitySpecialRenderer {
private static Map<IronChestType, ResourceLocation> locations; private static Map<IronChestType, ResourceLocation> locations;
static { static {
Builder<IronChestType, ResourceLocation> builder = ImmutableMap.<IronChestType,ResourceLocation>builder(); Builder<IronChestType, ResourceLocation> builder = ImmutableMap.<IronChestType,ResourceLocation>builder();
for (IronChestType typ : IronChestType.values()) { for (IronChestType typ : IronChestType.values())
builder.put(typ, new ResourceLocation("ironchest","textures/model/"+typ.getModelTexture())); builder.put(typ, new ResourceLocation("ironchest", "textures/models/" + typ.getModelTexture()));
}
locations = builder.build(); locations = builder.build();
} }