From a6a002848e154d9d7d3ca12e837991d8dac83b02 Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Fri, 5 Apr 2024 22:19:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DseatTranslation=E5=9C=A8?= =?UTF-8?q?=E4=B8=8D=E4=BC=A0=E5=85=A5player=E5=8F=82=E6=95=B0=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E7=9A=84=E7=BB=93=E6=9E=9C=E5=B0=911=E7=9A=84bug?= =?UTF-8?q?=EF=BC=88=E4=BF=AE=E5=A4=8D=E5=9B=BD=E6=88=98=E5=8F=B7=E6=95=B0?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 157→78.5 --- noname/get/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/noname/get/index.js b/noname/get/index.js index 32eccd4ae..31b44caba 100644 --- a/noname/get/index.js +++ b/noname/get/index.js @@ -57,8 +57,8 @@ export class Get extends Uninstantable { * @param {number | Player} seat */ static seatTranslation(seat) { - if (get.itemtype(seat) === 'player') seat = seat.getSeatNum(); - return `${get.cnNumber(seat, true)}号位`; + if (get.itemtype(seat) === 'player') seat = seat.getSeatNum() - 1; + return `${get.cnNumber(seat + 1, true)}号位`; } /** * @param {number} numberOfPlayers