void OnCrateHackEnd( HackableLockedCrate crate )
{
timer.In( config.timeToWait * 60, () =>
{
// if crate will be killed before timer => NullReferenceException
crate.inventory.Drop( "assets/prefabs/misc/item drop/item_drop.prefab", crate.GetDropPosition(), crate.transform.rotation );
crate.Kill();
} );
} Possible NRE in bag spawningFixed
Thanks for pointing that out, fixed!
Locked automatically