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; } }