New max health.
This commit is contained in:
parent
b8df312144
commit
fdf7c6ec07
2 changed files with 2 additions and 3 deletions
|
|
@ -1148,7 +1148,6 @@ namespace TShockAPI
|
|||
player.TPlayer.statLifeMax = this.maxHealth;
|
||||
player.TPlayer.statMana = this.mana;
|
||||
player.TPlayer.statManaMax = this.maxMana;
|
||||
// player.TPlayer.name = player.UserAccountName;
|
||||
for (int i = 0; i < NetItem.maxNetInventory; i++)
|
||||
{
|
||||
if (i < NetItem.maxNetInventory - (NetItem.armorSlots + NetItem.dyeSlots))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue