Precaching should be done on map start, but this config function is called after a database query, which could end AFTER OnMapStart, resulting in models not being precached.
This fixes the issue I got on my server of grenade skins not being precached on the first map after server launch, and ensures the plugin won't crash the server if it is loaded late.
Did not add my author name since the fix was very basic.
(Also added the repo url)
Precaching should be done on map start, but this config function is called after a database query, which could end AFTER OnMapStart, resulting in models not being precached.
This fixes the issue I got on my server of grenade skins not being precached on the first map after server launch, and ensures the plugin won't crash the server if it is loaded late.
Did not add my author name since the fix was very basic.
✅ Compiles fine ❌ Not tested in game