public static void LoadOffsets() { try { Offsets = Offsets.FromFile("offsets.json"); } catch (Exception ex) { Offsets = new Offsets(); Offsets.Save("offsets.json"); Logger.Error("Failed to read offsets!"); Logger.PrintException(ex, true, false); } }