mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-17 09:25:06 +01:00
Fix issue with a player not being able to spawn when they join somone in co-op with a singleplayer team of more than the max allowed amount
This commit is contained in:
@@ -152,6 +152,7 @@ public class World implements Iterable<GenshinPlayer> {
|
||||
// Copy main team to mp team
|
||||
if (this.isMultiplayer()) {
|
||||
player.getTeamManager().getMpTeam().copyFrom(player.getTeamManager().getCurrentSinglePlayerTeamInfo(), player.getTeamManager().getMaxTeamSize());
|
||||
player.getTeamManager().setCurrentCharacterIndex(0);
|
||||
}
|
||||
|
||||
// Add to scene
|
||||
|
||||
Reference in New Issue
Block a user