Draylar / wolves-with-armor

Wolves With Armor adds special armor items for wolves (and a few extra utilities) that keep them nice and safe.
https://www.curseforge.com/minecraft/mc-mods/wolves-with-armor
MIT License
6 stars 9 forks source link

Game crash when testing several mods, spawning wither in an enclosed space with several dogs in netherite armor #25

Closed rustedgoldmc closed 3 years ago

rustedgoldmc commented 3 years ago

I was testing mods together for use on a server I plan to help make. A mod I have installed, the Rat's Mischief mod, is able to take down a wither ridiculously quickly. I decided to test whether the dogs in netherite armor could also take down a wither. I turned off mob griefing so nothing could escape and spawned a wither in a roughly 16x16x8 glass container with about ten dogs (all in netherite armor) in it and as soon as the wither made the preliminary explosion the game crashed. The other mod that is most likely affecting this is the Respawnable Pets mod, which allows mobs you own to respawn and keep their inventory once you sleep. The crash error code was "The game crashed whilst ticking entity Error: java.lang.NullPointerException: Ticking entity Exit Code: -1". I tested it again with only six dogs and it worked without crashing, but then tried with all of them another time and it crashed again. I can kill dogs I own that are in netherite armor just fine, for some reason it is just this specific scenario. crash-2021-05-10_01.29.04-server.txt crash-2021-05-10_01.41.32-server.txt Those are the two crash reports generated. My apologies if I've given a load of unnecessary information, I know absolutely nothing about coding and what info is necessary and I figured it would be better to give too much information than too little. I do have other mods installed. Thank you! Lovely mod, by the way - the dogs look great.

Draylar commented 3 years ago

This log does not mention Wolves; seems like Rat's Mischief entities are dying and Respawnable Pets is retrieving an NBT tag that does not exist on them. I see you already opened an issue on their side, so I will tag them as well to add this info: #29

Happy to hear you like the mod :)