From ecb4c31776f638bf24d073b1c61ef6c8dde51b86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E5=90=9F?= <2580855214@qq.com> Date: Sun, 11 Feb 2024 09:29:09 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20=E6=AD=BB=E5=BE=AA=E7=8E=AF=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/org/windy/spawnjoin/SpawnJoin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/windy/spawnjoin/SpawnJoin.java b/src/main/java/org/windy/spawnjoin/SpawnJoin.java index aa48ea3..4c4d03a 100644 --- a/src/main/java/org/windy/spawnjoin/SpawnJoin.java +++ b/src/main/java/org/windy/spawnjoin/SpawnJoin.java @@ -55,7 +55,7 @@ public void onPlayerJoin(PlayerJoinEvent event) { // 将玩家传送到指定位置 player.teleport(location); n2++; - if(n2==n){ + if(n2>=n){ break; } }