mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
<1000 errors
This commit is contained in:
1 parent
c6a09b5658
commit
af008b9395
99 files changed
+470
-484
No files matched your search
@@ -119,11 +119,11 @@ public class GeneratorsClientProxy extends GeneratorsCommonProxy
|
||||
for(String s : CUSTOM_RENDERS)
|
||||
{
|
||||
ModelResourceLocation model = new ModelResourceLocation("mekanismgenerators:" + s, "inventory");
|
||||
Object obj = event.modelRegistry.getObject(model);
|
||||
Object obj = event.getModelRegistry().getObject(model);
|
||||
|
||||
if(obj instanceof IBakedModel)
|
||||
{
|
||||
event.modelRegistry.putObject(model, new GeneratorItemModelFactory((IBakedModel)obj));
|
||||
event.getModelRegistry().putObject(model, new GeneratorItemModelFactory((IBakedModel)obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user