Change player game mode from SURVIVAL to ADVENTURE during round reset in RoundService
This commit is contained in:
@@ -127,7 +127,7 @@ public class RoundService implements RoundListener {
|
||||
.forEach(player -> {
|
||||
player.setHealth(20);
|
||||
player.setFoodLevel(20);
|
||||
player.setGameMode(GameMode.SURVIVAL);
|
||||
player.setGameMode(GameMode.ADVENTURE);
|
||||
player.getInventory().clear();
|
||||
player.setTotalExperience(0);
|
||||
player.setExp(0.0f);
|
||||
|
||||
Reference in New Issue
Block a user