diff --git a/TShockAPI/ConfigFile.cs b/TShockAPI/ConfigFile.cs index e2e6e718..43e1f3be 100644 --- a/TShockAPI/ConfigFile.cs +++ b/TShockAPI/ConfigFile.cs @@ -269,9 +269,9 @@ namespace TShockAPI [Description("A dictionary of REST tokens that external applications may use to make queries to your server.")] public Dictionary ApplicationRestTokens = new Dictionary(); - [Description("The maximum value that a character may have for health.")] public int MaxHealth = 400; + [Description("The maximum value that a character may have for health.")] public int MaxHealth = 500; - [Description("The maximum value that a character may have for health.")] public int MaxMana = 400; + [Description("The maximum value that a character may have for health.")] public int MaxMana = 500; [Description("The number of reserved slots past your max server slot that can be joined by reserved players")] public int ReservedSlots = 20; diff --git a/TShockAPI/TSPlayer.cs b/TShockAPI/TSPlayer.cs index bf87e600..78385faa 100755 --- a/TShockAPI/TSPlayer.cs +++ b/TShockAPI/TSPlayer.cs @@ -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))