Add fixes for mana and health updates
This commit is contained in:
parent
1ffd8f82a9
commit
48e1db012c
2 changed files with 34 additions and 6 deletions
|
|
@ -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++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue