From 0526c7a0f197ecec009cbd59b9e07cab00b01a44 Mon Sep 17 00:00:00 2001 From: maru Date: Wed, 29 May 2024 16:25:29 -0400 Subject: [PATCH] Remove vouchers limit --- api/savedata/update.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/api/savedata/update.go b/api/savedata/update.go index 59ceb6f..6876b57 100644 --- a/api/savedata/update.go +++ b/api/savedata/update.go @@ -42,13 +42,6 @@ func Update(uuid []byte, slot int, save any) error { return fmt.Errorf("client version out of date") } - if save.VoucherCounts["0"] > 300 || - save.VoucherCounts["1"] > 150 || - save.VoucherCounts["2"] > 100 || - save.VoucherCounts["3"] > 10 { - db.SetAccountBanned(uuid, true) - } - err = db.UpdateAccountStats(uuid, save.GameStats, save.VoucherCounts) if err != nil { return fmt.Errorf("failed to update account stats: %s", err)