fixed different player gamemodes in lobby after games

This commit is contained in:
2025-03-22 11:11:08 +01:00
parent 13132eace6
commit 24af27f2e3
2 changed files with 2 additions and 6 deletions

View File

@@ -65,6 +65,7 @@ public class Room extends MineNetInstance implements Spawnable {
p.clearTitle();
p.getInventory().clear();
p.setGameMode(GameMode.ADVENTURE);
p.setInvisible(false);
rooms.add(room);
players.put(p, room);
MoveInstance.move(p, room);