
[Bug Report]: SMP Server Crashes when Cataclysm pet is near other mod's pet and another player
Nenluen opened this issue ยท 2 comments
Modpack Version
1.19.0
Describe your issue.
A Null-pointer exception happens when a Cataclysm pet (SummonedKoboleton, SummonedKoboldiator) is near another summoned pet (Iron Spells' SummonedZombie in one log) and sees another player.
It appears that the pet does a check to see if it can hit everything near it with its AoE attack, and on checking the other pets, doesn't find a team, creating the following error:
java.lang.NullPointerException: Cannot invoke "net.minecraft.world.entity.Entity.getTeam()" because "p_20355_" is null
This will then either A) Crash the non-pet owning player or B) crash the whole server.
The pet owner can move away from other players and then when the other players log in, the server functions normally, unless a non-pet owning player approaches the pets before they despawn, which will cause a crash.
the pet owner can log out, and the pets will persist for an unknown amount of time..
Crash Report
https://gist.github.com/Nenluen/498dafd3851db6d80b98af73e20b8cad https://gist.github.com/Nenluen/a87d999ba6fd9482fd1d7478c8ee8898
Latest Log
https://gist.github.com/Nenluen/d56f39daacdde9a5a42e35f3bb020f82
Have you modified the modpack?
Yes
User Modifications
Changed the 'Apotheosis bosses hunt players on spawn' setting from true to false.
Did the issue happen in singleplayer or on a server?
Server
Discord Username
No response
known issue that has already been reported to the developer of the mod. be sure to test the latest pack version (1.20.1)