java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Byte

GitHub | UnknownGuy28 | 7 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

    DataWatcher crash (MC 1.8)

    GitHub | 7 months ago | UnknownGuy28
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Byte

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String cannot be cast to java.lang.Byte

      at net.minecraft.entity.DataWatcher.getWatchableObjectByte()
    2. Minecraft
      EntityLiving.onUpdate
      1. net.minecraft.entity.DataWatcher.getWatchableObjectByte(DataWatcher.java:90)
      2. net.minecraft.entity.Entity.getFlag(Entity.java:2230)
      3. net.minecraft.entity.Entity.isSprinting(Entity.java:2183)
      4. net.minecraft.entity.Entity.func_174830_Y(Entity.java:1179)
      5. net.minecraft.entity.Entity.onEntityUpdate(Entity.java:472)
      6. net.minecraft.entity.EntityLivingBase.onEntityUpdate(EntityLivingBase.java:268)
      7. net.minecraft.entity.EntityLiving.onEntityUpdate(EntityLiving.java:201)
      8. net.minecraft.entity.Entity.onUpdate(Entity.java:398)
      9. net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1793)
      10. net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:278)
      10 frames
    3. net.minecraft.entity
      EntityZombie.onUpdate
      1. net.minecraft.entity.monster.EntityMob.onUpdate(EntityMob.java:62)
      2. net.minecraft.entity.monster.EntityZombie.onUpdate(EntityZombie.java:315)
      2 frames
    4. Minecraft
      World.updateEntities
      1. net.minecraft.world.World.updateEntityWithOptionalForce(World.java:1884)
      2. net.minecraft.world.World.updateEntity(World.java:1853)
      3. net.minecraft.world.World.updateEntities(World.java:1702)
      3 frames
    5. MC Client
      Main.main
      1. net.minecraft.client.Minecraft.runTick(Minecraft.java:2305)
      2. net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1200)
      3. net.minecraft.client.Minecraft.run(Minecraft.java:380)
      4. net.minecraft.client.main.Main.main(Main.java:129)
      4 frames