diff --git a/db/savedata.go b/db/savedata.go index 76879e3..2f1e23f 100644 --- a/db/savedata.go +++ b/db/savedata.go @@ -173,12 +173,6 @@ func UpdateAccountEggs(uuid []byte, eggs []defs.EggData) error { continue } - var buf bytes.Buffer - err := gob.NewEncoder(&buf).Encode(egg) - if err != nil { - return err - } - _, err = handle.Exec(`INSERT INTO eggs (uuid, owner, gachaType, hatchWaves, timestamp) VALUES (?, ?, ?, ?, ?) ON DUPLICATE KEY UPDATE hatchWaves = ?`,