Server Crash - Chicken Egg being thrown

I was playing on my server until a weird thing happened. There was an egg in a dispenser until a chicken came out and the server crashed. Could this be a bug?


Server will not start up now. It will only stay on if someone is not in that area.

SpongeForge Build: 949
Forge: 1577

That looks like a chicken was spawned and then hit with another egg, and then sponge didn’t know who or what to blame for the damage event.

This is a missed part of the event cause refactor, in that all causes are named now.

I would make an issue on github for this. I think this should go in SpongeCommon.

I added a null check to defend against the NPE