fabric/fabric-events-interaction-v0
Jonathan Coates e91849a835
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 12:54:27 +01:00
..
src Fix crash when beehive is broken by fake player (#3190) 2023-07-18 12:54:27 +01:00
build.gradle Setup unit tests & format gradle files. (#3073) 2023-05-30 13:07:11 +01:00