Error with Gravestones ???

Create issue
Issue #7 new
Former user created an issue

I tried to play but, some minutes after I create a world minecraft crashes !

// On the bright side, I bought you a teddy bear!

Time: 5/11/18 4:02 PM Description: Ticking entity

java.lang.ClassCastException: com.hackshop.ultimate_unicorn.mobs.EntityDestrier cannot be cast to net.minecraft.entity.passive.EntityHorse at nightkosh.gravestone_extended.item.corpse.HorseCorpseHelper.setNbt(HorseCorpseHelper.java:90) at nightkosh.gravestone_extended.item.corpse.CorpseHelper.getCorpse(CorpseHelper.java:150) at nightkosh.gravestone_extended.helper.GraveGenerationHelper.lambda$addMobsItemsHandlers$14(GraveGenerationHelper.java:45) at nightkosh.gravestone.helper.GraveGenerationHelper.createHorseGrave(GraveGenerationHelper.java:251) at nightkosh.gravestone.core.event.EventsHandler.onEntityLivingDeath(EventsHandler.java:83) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_582_EventsHandler_onEntityLivingDeath_LivingDeathEvent.invoke(.dynamic) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) at net.minecraftforge.common.ForgeHooks.onLivingDeath(ForgeHooks.java:600) at net.minecraft.entity.EntityLivingBase.func_70645_a(EntityLivingBase.java:1159) at net.minecraft.entity.passive.AbstractHorse.func_70645_a(AbstractHorse.java:612) at net.minecraft.entity.passive.AbstractChestHorse.func_70645_a(SourceFile:80) at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:1014) at net.minecraft.entity.passive.EntityAnimal.func_70097_a(SourceFile:66) at net.minecraft.entity.passive.AbstractHorse.func_70097_a(AbstractHorse.java:236) at net.minecraft.entity.EntityLivingBase.func_70030_z(EntityLivingBase.java:232) at net.minecraft.entity.EntityLiving.func_70030_z(EntityLiving.java:269) at net.minecraft.entity.Entity.func_70071_h_(Entity.java:388) at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2087) at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:377) at net.minecraft.entity.passive.AbstractHorse.func_70071_h_(AbstractHorse.java:682) at com.hackshop.ultimate_unicorn.mobs.EntityMagicalHorse.func_70071_h_(EntityMagicalHorse.java:1002) at net.minecraft.world.World.func_72866_a(World.java:1990) at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832) at net.minecraft.world.World.func_72870_g(World.java:1952) at net.minecraft.world.World.func_72939_s(World.java:1756) at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:765) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:666) at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:252) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:524) at java.lang.Thread.run(Unknown Source)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head -- Thread: Client thread Stacktrace: at nightkosh.gravestone_extended.item.corpse.HorseCorpseHelper.setNbt(HorseCorpseHelper.java:90) at nightkosh.gravestone_extended.item.corpse.CorpseHelper.getCorpse(CorpseHelper.java:150) at nightkosh.gravestone_extended.helper.GraveGenerationHelper.lambda$addMobsItemsHandlers$14(GraveGenerationHelper.java:45) at nightkosh.gravestone.helper.GraveGenerationHelper.createHorseGrave(GraveGenerationHelper.java:251) at nightkosh.gravestone.core.event.EventsHandler.onEntityLivingDeath(EventsHandler.java:83) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_582_EventsHandler_onEntityLivingDeath_LivingDeathEvent.invoke(.dynamic) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) at net.minecraftforge.common.ForgeHooks.onLivingDeath(ForgeHooks.java:600) at net.minecraft.entity.EntityLivingBase.func_70645_a(EntityLivingBase.java:1159) at net.minecraft.entity.passive.AbstractHorse.func_70645_a(AbstractHorse.java:612) at net.minecraft.entity.passive.AbstractChestHorse.func_70645_a(SourceFile:80) at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:1014) at net.minecraft.entity.passive.EntityAnimal.func_70097_a(SourceFile:66) at net.minecraft.entity.passive.AbstractHorse.func_70097_a(AbstractHorse.java:236) at net.minecraft.entity.EntityLivingBase.func_70030_z(EntityLivingBase.java:232) at net.minecraft.entity.EntityLiving.func_70030_z(EntityLiving.java:269) at net.minecraft.entity.Entity.func_70071_h_(Entity.java:388) at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2087) at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:377) at net.minecraft.entity.passive.AbstractHorse.func_70071_h_(AbstractHorse.java:682) at com.hackshop.ultimate_unicorn.mobs.EntityMagicalHorse.func_70071_h_(EntityMagicalHorse.java:1002) at net.minecraft.world.World.func_72866_a(World.java:1990) at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832) at net.minecraft.world.World.func_72870_g(World.java:1952)

-- Entity being ticked -- Details: Entity Type: ultimate_unicorn_mod:destrier (com.hackshop.ultimate_unicorn.mobs.EntityDestrier) Entity ID: 1962 Entity Name: Destrier Entity's Exact location: -286.05, 26.00, 304.50 Entity's Block location: World: (-287,26,304), Chunk: (at 1,1,0 in -18,19; contains blocks -288,0,304 to -273,255,319), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) Entity's Momentum: 0.00, -0.08, 0.00 Entity's Passengers: [] Entity's Vehicle: ERROR NullPointerException: null Stacktrace: at net.minecraft.world.World.func_72939_s(World.java:1756) at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)