From 904ffc894dc0ba6b12a25d1c58b19792a2da0f52 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 5 Nov 2024 16:35:56 +0100 Subject: [PATCH] fix: server limit check --- app/Models/Team.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Team.php b/app/Models/Team.php index 50639422da..db485054b5 100644 --- a/app/Models/Team.php +++ b/app/Models/Team.php @@ -165,7 +165,7 @@ public static function serverLimit() return 0; } - return data_get($team, 'limits.serverLimit', 0); + return data_get($team, 'limits', 0); } public function limits(): Attribute