fabric/fabric-events-interaction-v0
Jonathan Coates 4b6b93f0b1 Fix crash when beehive is broken by fake player (#3190)
* Fix crash when beehive is broken by fake player

When a beehive is broken, every nearby bee targets a random player.
However, if there are no nearby players, the game crashes.

This should not occur under normal (vanilla) conditions. However, if a
beehive is broken by a fake player there are no players in range, and so
we see a crash.

* Checkstyle, my beloved

* Remove public modifier

* See see see
2023-07-18 13:16:41 +01:00
..
src Fix crash when beehive is broken by fake player (#3190) 2023-07-18 13:16:41 +01:00
build.gradle Setup unit tests & format gradle files. (#3073) 2023-05-30 13:10:24 +01:00