anticheat safe armor

This commit is contained in:
hydrant
2021-04-11 05:17:50 +02:00
parent 350808ccbb
commit 33db8070e0
3 changed files with 10 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ namespace ReallifeGamemode.Server.Events
}
if (slot == 5)
{
client.Armor = 100;
client.SafeSetArmor(100);
}
}
@@ -94,7 +94,7 @@ namespace ReallifeGamemode.Server.Events
if (armor == "Schutzweste")
{
client.Armor = 100;
client.SafeSetArmor(100);
}
using (var context = new DatabaseContext())