Finally made my IDEA workspace happy, assets weren't being recognized for some reason
This commit is contained in:
parent
a2fb334833
commit
6ab72698dc
2 changed files with 10 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue