mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 02:55:17 +00:00
Fixed generic bug in MultiModel
This commit is contained in:
1 parent
7c7547227c
commit
a96ba1b7f7
1 file changed
+1
-1
@@ -175,7 +175,7 @@ public class MultiModel implements IModel
|
||||
{
|
||||
if(transforms.isEmpty()) return Pair.of(this, null);
|
||||
Pair<Baked, TRSRTransformation> p = transforms.get(cameraTransformType);
|
||||
return Pair.of(p.getLeft(), p.getRight().getMatrix());
|
||||
return Pair.of((IBakedModel)p.getLeft(), p.getRight().getMatrix());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user