Food level defaults to 10 to avoid the invincibility effect.
This commit is contained in:
@@ -194,7 +194,7 @@ public class Arena
|
||||
{
|
||||
p.teleport(arenaLoc);
|
||||
setHealth(p, 20);
|
||||
p.setFoodLevel(20);
|
||||
p.setFoodLevel(10);
|
||||
assignClassPermissions(p);
|
||||
arenaPlayerMap.put(p, new ArenaPlayer(p, this, plugin));
|
||||
}
|
||||
@@ -334,7 +334,7 @@ public class Arena
|
||||
storePlayerData(p, loc);
|
||||
MAUtils.sitPets(p);
|
||||
setHealth(p, 20);
|
||||
p.setFoodLevel(20);
|
||||
p.setFoodLevel(10);
|
||||
p.setGameMode(GameMode.SURVIVAL);
|
||||
movePlayerToLobby(p);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user