Final time at fixing the unbootable crate issue which I reintroduced on the last fix for another issue. I left some test code on line 2227 which is now removed. 100% Tested working. Apologies, I work shifts and super tired.
Changelog:
Fixed: Unlootable crate bug, re-introduced in error by last update
Fixed: Typo in OnHelicopterRetire hook causing "ArgumentNullException" error
1.1.3:
Fixed: Report command not using custom command if edited in the config
Fixed: Vanilla helicopter event not despawning correctly
Added: Clear cooldown admin command (hsclearcd) requires admin perm
Added: Separate cooldowns for each Heli tier/profile
Added: Config option to enable per tier cooldown or not
Added: Player heli limit config option
Fixed: Bullet accuracy option not working
Fixed: Return to called position height not using the config value correctly
Fixed: Bug where in certain cases players would get kill rewards after heli retired
Fixed: NRE when players shoot helis with remote Auto Turrets
Added: Config option to allow/disallow damage to helis by remote Auto Turret
Added: Report command is now usable by players for their own helis (admin perm allows all helis)
Added: Config option to specify custom report command (default = hsreport)
Updated: Re-write of some methods for improvements in damage handling and code efficiency
Info: Code clean up
Fixed: Hackable locked crate not despawning at time specified in config
Fixed: Custom loot not populating after 1.0.22 update (sorry)
Fixed: Occasional NullReferenceException error on CanStackItem
Added: Hackable locked crate loot table options
Fixed: Buy command not working in some circumstances when using RP or Eco currency
Fixed: Compiling bug when upgrading from 1.0.22 or lower to 1.0.23 or above
Added: Retire command, for players to force the helicopter to retire (by request)
Added: Hackable locked crate number to spawn config option
Added: Hackable crate de-spawn time config option
Added: Hackable crate hack time config option
Added: Option to customise player buy command in config
Added: Config option to allow the plugin to handle stacking/combining dropped signal items
Updated: Targeting to prevent automatically strafing other team members which may not be attacking
Added: Time taken to kill helicopter in kill announcement
Added: Config option for top player damage report with damage for each player and rotor accuracy displayed
Added: Config option for max number players in top damage report