From 6d886697eb2c1c8eee80289baafbacc5bd54ebd8 Mon Sep 17 00:00:00 2001 From: MClausz Date: Tue, 27 Oct 2015 15:26:30 +0700 Subject: [PATCH] Added player's max health --- src/nl/Steffion/BlockHunt/PlayerArenaData.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/nl/Steffion/BlockHunt/PlayerArenaData.java b/src/nl/Steffion/BlockHunt/PlayerArenaData.java index 01bd973..f0baec2 100644 --- a/src/nl/Steffion/BlockHunt/PlayerArenaData.java +++ b/src/nl/Steffion/BlockHunt/PlayerArenaData.java @@ -13,18 +13,20 @@ public class PlayerArenaData { public ItemStack[] pArmor; public Float pEXP; public Integer pEXPL; + public Double pMaxHealth; public Double pHealth; public Integer pFood; public Collection pPotionEffects; public boolean pFlying; - public PlayerArenaData(Location pLocation, GameMode pGameMode, ItemStack[] pInventory, ItemStack[] pArmor, Float pEXP, Integer pEXPL, Double pHealth, Integer pFood, + public PlayerArenaData(Location pLocation, GameMode pGameMode, ItemStack[] pInventory, ItemStack[] pArmor, Float pEXP, Integer pEXPL, Double pMaxHealth, Double pHealth, Integer pFood, Collection pPotionEffects, boolean pFlying) { this.pGameMode = pGameMode; this.pInventory = pInventory; this.pArmor = pArmor; this.pEXP = pEXP; this.pEXPL = pEXPL; + this.pMaxHealth = pMaxHealth; this.pHealth = pHealth; this.pFood = pFood; this.pPotionEffects = pPotionEffects;