Removed User.GetFaction()

This commit is contained in:
hydrant
2019-03-10 13:02:03 +01:00
parent f732f053a8
commit ed069fd1d7
8 changed files with 39 additions and 43 deletions

View File

@@ -21,7 +21,7 @@ namespace ReallifeGamemode.Server.Inventory.Items
public void Use(UserItem uItem)
{
Client player = uItem.GetUser().GetClient();
Client player = uItem.GetUser().Client;
int amountToAdd = HpAmount;
if(player.Health + amountToAdd > 100)