tterrag1098 / ttCore

A core library for mine and others' mods.
Other
5 stars 5 forks source link

[ttCore .46] Ticking Player #10

Closed MrGraphic closed 9 years ago

MrGraphic commented 9 years ago

Happens after potion effect activation. Effect will create under entity liquid like block similar to flowing water last/thinnest stage. Crash happens in creation moment

java.lang.NullPointerException: Ticking player at net.minecraft.enchantment.EnchantmentHelper.func_82781_a(EnchantmentHelper.java:66) at tterrag.core.common.handlers.XPBoostHandler.getXPBoostLevel(XPBoostHandler.java:115) at tterrag.core.common.handlers.XPBoostHandler.handleBlockBreak(XPBoostHandler.java:76) at cpw.mods.fml.common.eventhandler.ASMEventHandler_961_XPBoostHandler_handleBlockBreak_BreakEvent.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138) at com.emoniph.witchery.util.BlockProtect.checkModsForBreakOK(BlockProtect.java:48) at com.emoniph.witchery.util.BlockProtect.checkModsForBreakOK(BlockProtect.java:40) at com.emoniph.witchery.brewing.potions.PotionDiseased.func_76394_a(PotionDiseased.java:59) at net.minecraft.potion.PotionEffect.func_76457_b(PotionEffect.java:125) at net.minecraft.potion.PotionEffect.func_76455_a(PotionEffect.java:107) at net.minecraft.entity.EntityLivingBase.func_70679_bo(EntityLivingBase.java:524) at net.minecraft.entity.EntityLivingBase.func_70030_z(EntityLivingBase.java:293) at net.minecraft.entity.Entity.func_70071h(Entity.java:318) at net.minecraft.entity.EntityLivingBase.func_70071h(EntityLivingBase.java:1561) at net.minecraft.entity.player.EntityPlayer.func_70071h(EntityPlayer.java:288) at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:295) at net.minecraft.network.NetHandlerPlayServer.func_147347_a(NetHandlerPlayServer.java:303) at net.minecraft.network.play.client.C03PacketPlayer.func_148833_a(SourceFile:137) at net.minecraft.network.play.client.C03PacketPlayer$C06PacketPlayerPosLook.func_148833_a(SourceFile:20) at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212) at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

tterrag1098 commented 9 years ago

Duplicate of #9, fixed in c3c64132ba91631d64f2271932824be84fea2004