mirror of
https://github.com/HybridDog/builtin_item.git
synced 2025-12-24 16:35:28 +01:00
If __builtin:item's on_step() makes the dropped item invalid, e.g. by removing it, a later get_velocity() returns nil, which leads to a crash. After this change, the overridden on_step() aborts early if the object became invalid.
3.7 KiB
3.7 KiB