Single player crash on death
LemADEC opened this issue ยท 0 comments
As of 1.12.2-2.0.2.0_pre3.1, client crashed when dying from TechGuns NPCs.
java.lang.NullPointerException: Ticking entity
at net.minecraft.world.WorldServer.func_184165_i(WorldServer.java:1075)
at net.minecraft.world.WorldServer.func_72838_d(WorldServer.java:1058)
at net.minecraft.entity.player.EntityPlayerMP.func_70645_a(EntityPlayerMP.java:514)
at techguns.damagesystem.DamageSystem.attackEntityFrom(DamageSystem.java:354)
at techguns.events.TGEventHandler.OnLivingAttack(TGEventHandler.java:348)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_417_TGEventHandler_OnLivingAttack_LivingAttackEvent.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.onPlayerAttack(ForgeHooks.java:590)
at net.minecraft.entity.player.EntityPlayer.func_70097_a(EntityPlayer.java:994)
at net.minecraft.entity.player.EntityPlayerMP.func_70097_a(EntityPlayerMP.java:645)
at techguns.entities.projectiles.GenericProjectile.onHit(GenericProjectile.java:434)
at techguns.entities.projectiles.GenericProjectile.func_70071_h_(GenericProjectile.java:259)
at net.minecraft.world.World.func_72866_a(World.java:1993)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832)
at net.minecraft.world.World.func_72870_g(World.java:1955)
at net.minecraft.world.World.func_72939_s(World.java:1759)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:185)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Unknown Source)
https://gist.github.com/LemADEC/a904c874f40dc5e52d9fbf7279b5814d