Occultism

Occultism

19M Downloads

Ticking Entity

Traverse-Joe opened this issue ยท 5 comments

commented

Describe the bug
Ticking Entity seems to be caused from Entity Blaze

To Reproduce
Steps to reproduce the behavior:

  1. Kill Blaze
  2. Repeat till crash.

Expected behavior
No crash.

System (please complete the following information):

Additional context
https://gist.github.com/Traverse-Joe/ce46c1518a976ab113fd696ced07a7b4

commented

Ticking entity in that crash report is a wilden hunter from ars nouveau

commented

do you happen to have the greed effect from a dragon familiar when this is happening? looks like something is borked there xD is new

EffectInstance greed = event.getAttackingPlayer().getActivePotionEffect(OccultismEffects.DRAGON_GREED.get());

commented

currently i haven't even started Occultism yet so i shouldn't have the Dragon_Greed

commented

I think its because when a player dies they drop exp and its not checking for EntityPlayer / instance of EntityPlayer but not sure we downgraded for the time being because it was a recuring crash every time someone died

commented

I think its because when a player dies they drop exp and its not checking for EntityPlayer / instance of EntityPlayer but not sure we downgraded for the time being because it was a recuring crash every time someone died

That was it exactly - I wasn't aware killing player could be null in this event.