Better Questing - Standard Expansion

Better Questing - Standard Expansion

38M Downloads

[1.7.10] 2.0.121 Crash on TaskHunt.onKilledByPlayer

Psithief opened this issue ยท 5 comments

commented
Description: Ticking entity

java.lang.NullPointerException: Ticking entity
	at bq_standard.tasks.TaskHunt.onKilledByPlayer(TaskHunt.java:129)
	at bq_standard.handlers.EventHandler.onEntityKilled(EventHandler.java:77)

It looks like it's possible for EntityList.getEntityString to return null even if entity is valid,

https://github.com/Funwayguy/StandardQuestingPack/blob/1.7.10/src/main/java/bq_standard/tasks/TaskHunt.java#L129

commented

What entity did you kill? Looks like someone hasn't registered their entities correctly (then again I suppose I should add failsafe handling for mods doing silly things)

commented

It happened after I installed the Damage Indicators mod, raising the question whether the numbers it displays are somehow entities that can die. ๐Ÿ˜’
Other possibilities:

  • Ghost from RandomThings
  • Some unseen entity from ExtraPlanets
  • Maybe a crossbow bolt from Tinkers' Contruct
commented

I get this also on project ozone 2:

only happens to us with tinkers weapons (bolts/throwing knives) while killing other players, and only while killing other players

commented

Can confirm this is still happening with version 2.1.0 on project ozone 2 with the same conditions as stated by @zzyzzyzzx http://www.termbin.com/0cuy

commented

Should be fixed now both for players and unregistered entities. Thanks for the reports.