formatted code
This commit is contained in:
@@ -24,7 +24,7 @@ namespace ReallifeGamemode.Server.Inventory.Items
|
||||
Client player = uItem.GetUser().Client;
|
||||
|
||||
int amountToAdd = HpAmount;
|
||||
if(player.Health + amountToAdd > 100)
|
||||
if (player.Health + amountToAdd > 100)
|
||||
{
|
||||
amountToAdd = 100 - player.Health;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user