Add fixes for mana and health updates

This commit is contained in:
Zack Piispanen 2013-10-02 01:30:38 -04:00
parent 1ffd8f82a9
commit 48e1db012c
2 changed files with 34 additions and 6 deletions

View file

@ -1146,7 +1146,7 @@ namespace TShockAPI
{
player.TPlayer.statLife = this.health;
player.TPlayer.statLifeMax = this.maxHealth;
player.TPlayer.statMana = this.mana;
player.TPlayer.statMana = this.maxMana;
player.TPlayer.statManaMax = this.maxMana;
for (int i = 0; i < NetItem.maxNetInventory; i++)
{