removed unusued code

pull/13/head
gamray 2024-05-13 00:24:04 +02:00
parent cf1b33e170
commit 64bbaed3ed
1 changed files with 0 additions and 6 deletions

View File

@ -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 = ?`,