From 530c87b81e481ebd13ec69558e12d92fe5638214 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Tue, 27 Apr 2021 11:48:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=A4=B4=E5=83=8F=E4=BB=8E?= =?UTF-8?q?=E9=9A=8F=E6=9C=BA=E6=94=B9=E4=B8=BA=E7=94=B1uid=E7=A1=AE?= =?UTF-8?q?=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/users.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parts/users.lua b/parts/users.lua index 6714554b..4d1c2953 100644 --- a/parts/users.lua +++ b/parts/users.lua @@ -36,7 +36,7 @@ local db=setmetatable({},{__index=function(self,k) db_img[k]= type(d.hash)=="string"and #d.hash>0 and fs.getInfo("cache/"..d.hash)and loadAvatar("cache/"..d.hash)or - defaultAvatar[math.random(29)] + defaultAvatar[k%28+1] return d end})