java.lang.ClassCastException: net.minecraft.client.entity.EntityClientPlayerMP cannot be cast to net.minecraft.entity.player.EntityPlayerMP

minecraftuser.jp | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    トピック - [1.7.10]MCEconomy2 経済API , AddTabs Tab追加API • Minecraft非公式日本ユーザーフォーラム

    minecraftuser.jp | 2 months ago
    java.lang.ClassCastException: net.minecraft.client.entity.EntityClientPlayerMP cannot be cast to net.minecraft.entity.player.EntityPlayerMP

    Root Cause Analysis

    1. java.lang.ClassCastException

      net.minecraft.client.entity.EntityClientPlayerMP cannot be cast to net.minecraft.entity.player.EntityPlayerMP

      at shift.mceconomy2.event.MPManager.loadProxyData()
    2. shift.mceconomy2.event
      CommonEventManager.onEntityJoinWorld
      1. shift.mceconomy2.event.MPManager.loadProxyData(MPManager.java:119)
      2. shift.mceconomy2.event.CommonEventManager.onEntityJoinWorld(CommonEventManager.java:32)
      2 frames
    3. MC Forge
      EventBus.post
      1. cpw.mods.fml.common.eventhandler.ASMEventHandler_24_CommonEventManager_onEntityJoinWorld_EntityJoinWorldEvent.invoke(.dynamic)
      2. cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
      3. cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138)
      3 frames
    4. Minecraft
      World.func_72838_d
      1. net.minecraft.world.World.func_72838_d(World.java:1334)
      1 frame
    5. MC Client
      Minecraft.func_71403_a
      1. net.minecraft.client.multiplayer.WorldClient.func_72838_d(WorldClient.java:159)
      2. net.minecraft.client.Minecraft.func_71353_a(Minecraft.java:2220)
      3. net.minecraft.client.Minecraft.func_71403_a(Minecraft.java:2135)
      3 frames
    6. net.minecraft.client
      NetHandlerPlayClient.func_147282_a
      1. net.minecraft.client.network.NetHandlerPlayClient.func_147282_a(NetHandlerPlayClient.java:239)
      1 frame
    7. com.mumfrey.liteloader
      EventProxy$2.$event0002b
      1. com.mumfrey.liteloader.client.PacketEventsClient.handlePacket(PacketEventsClient.java:106)
      2. com.mumfrey.liteloader.core.PacketEvents.handlePacketEvent(PacketEvents.java:179)
      3. com.mumfrey.liteloader.core.PacketEvents.handlePacket(PacketEvents.java:134)
      4. com.mumfrey.liteloader.core.PacketEvents.handlePacket(PacketEvents.java:129)
      5. com.mumfrey.liteloader.core.event.EventProxy$2.$event0002b(Unknown Source)
      5 frames
    8. net.minecraft.network
      S01PacketJoinGame.func_148833_a
      1. net.minecraft.network.play.server.S01PacketJoinGame.func_148833_a(SourceFile)
      1 frame
    9. Minecraft
      NetworkManager.func_74428_b
      1. net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
      1 frame
    10. MC Client
      Main.main
      1. net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:2050)
      2. net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:962)
      3. net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
      4. net.minecraft.client.main.Main.main(SourceFile:148)
      4 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    12. Minecraft
      Launch.main
      1. net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
      2. net.minecraft.launchwrapper.Launch.main(Launch.java:28)
      2 frames