Set player max health

This commit is contained in:
Connor Monahan 2016-06-14 23:02:48 -05:00
parent 53c683abf3
commit 5c992c95ee

View File

@ -447,6 +447,7 @@ public class Warzone {
private void handleRespawn(final Team team, final Player player) {
// Fill hp
player.setRemainingAir(player.getMaximumAir());
player.setMaxHealth(20);
player.setHealth(player.getMaxHealth());
player.setFoodLevel(20);
player.setSaturation(team.getTeamConfig().resolveInt(TeamConfig.SATURATION));