[SPIGOT-7790] Server crashes after bee nest is forced to update Created: 20/Jun/24  Updated: 25/Dec/24  Resolved: 21/Jun/24

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Funn Punn Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: 1.21, bug, crash, spigot, world

Attachments: File beehivecheck-1.0-SNAPSHOT.jar     Text File crash-2024-06-20_13.25.25-server.txt    
Version: This server is running CraftBukkit version 4227-Spigot-146439e-ee3d725 (MC: 1.21) (Implementing API version 1.21-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

Whenever a bee nest is forced to update (tested with a PhysicsUpdateEvent), the server crashes the next tick.

 

Attached are the bug plugin and crash log files.



 Comments   
Comment by md_5 [ 21/Jun/24 ]

I've added a fix since we shouldn't crash, but that type of code is really prone to error

Comment by Funn Punn [ 21/Jun/24 ]

I created the plugin and tested the events. I updated this issue accordingly.

Comment by Funn Punn [ 21/Jun/24 ]

Without plugins it's fine. I'll try to see which one of the 2 plugins is causing the crash. If it's my own, I'll try to find the Event Listener that is causing the issue and reproduce it. The Block Physics Event is probably the one causing this to happen, but I'll check to make sure.

Comment by md_5 [ 20/Jun/24 ]

I spawned a bunch of bee, beehives and beenests. Ran a full day/night cycle where they entered and left the best, and did not crash.

If it still occurs without plugins, please include a copy of the world

Comment by md_5 [ 20/Jun/24 ]

Does it crash without plugins?

Generated at Sat Dec 13 15:22:35 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.