Finally made my IDEA workspace happy, assets weren't being recognized for some reason

This commit is contained in:
aidancbrady 2015-07-18 23:57:50 -07:00
parent a2fb334833
commit 6ab72698dc
2 changed files with 10 additions and 1 deletions

View file

@ -28,6 +28,15 @@ repositories {
}
}
apply plugin: 'idea'
idea {
module {
// For some reason this is necessary for IDEA 2014 workspaces to recognize assets
inheritOutputDirs = true
}
}
apply plugin: 'forge'
// Define properties file

View file

@ -21,7 +21,7 @@ public class RenderSolarNeutronActivator extends TileEntitySpecialRenderer
public RenderSolarNeutronActivator()
{
model = AdvancedModelLoader.loadModel(new ResourceLocation("mekanism:models/solar_tri.obj"));
model = AdvancedModelLoader.loadModel(MekanismUtils.getResource(ResourceType.MODEL, "solar_tri.obj"));
}
@Override