Skip to content

Instantly share code, notes, and snippets.

@vico93
Created September 2, 2015 04:15
Show Gist options
  • Save vico93/1a0c266b1ee0f3620a86 to your computer and use it in GitHub Desktop.
Save vico93/1a0c266b1ee0f3620a86 to your computer and use it in GitHub Desktop.
SkinPort+SmartMovingRenderPlayerAPI Crash
java.lang.ClassCastException: lain.mods.skinport.SkinPortModelPlayer cannot be cast to api.player.model.ModelPlayer
at net.smart.render.playerapi.SmartRenderRenderPlayerBase.createModel(SmartRenderRenderPlayerBase.java:31)
at net.smart.render.SmartRenderRender.<init>(SmartRenderRender.java:22)
at net.smart.render.playerapi.SmartRenderRenderPlayerBase.getRenderRender(SmartRenderRenderPlayerBase.java:24)
at net.smart.render.playerapi.SmartRenderRenderPlayerBase.renderFirstPersonArm(SmartRenderRenderPlayerBase.java:60)
at api.player.render.RenderPlayerAPI.renderFirstPersonArm(Unknown Source)
at api.player.render.RenderPlayerAPI.renderFirstPersonArm(Unknown Source)
at net.minecraft.client.renderer.entity.RenderPlayer.func_82441_a(RenderPlayer.java)
at lain.mods.skinport.SkinPortRenderPlayer.func_82441_a(SkinPortRenderPlayer.java:145)
at net.minecraft.client.renderer.ItemRenderer.func_78440_a(ItemRenderer.java:531)
at net.minecraft.client.renderer.EntityRenderer.func_78476_b(EntityRenderer.java:954)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1720)
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1305)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1001)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.smart.render.playerapi.SmartRenderRenderPlayerBase.createModel(SmartRenderRenderPlayerBase.java:31)
at net.smart.render.SmartRenderRender.<init>(SmartRenderRender.java:22)
at net.smart.render.playerapi.SmartRenderRenderPlayerBase.getRenderRender(SmartRenderRenderPlayerBase.java:24)
at net.smart.render.playerapi.SmartRenderRenderPlayerBase.renderFirstPersonArm(SmartRenderRenderPlayerBase.java:60)
at api.player.render.RenderPlayerAPI.renderFirstPersonArm(Unknown Source)
at api.player.render.RenderPlayerAPI.renderFirstPersonArm(Unknown Source)
at net.minecraft.client.renderer.entity.RenderPlayer.func_82441_a(RenderPlayer.java)
at lain.mods.skinport.SkinPortRenderPlayer.func_82441_a(SkinPortRenderPlayer.java:145)
at net.minecraft.client.renderer.ItemRenderer.func_78440_a(ItemRenderer.java:531)
at net.minecraft.client.renderer.EntityRenderer.func_78476_b(EntityRenderer.java:954)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1720)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment