diff --git a/ReallifeGamemode.Database/Migrations/DatabaseContextModelSnapshot.cs b/ReallifeGamemode.Database/Migrations/DatabaseContextModelSnapshot.cs index bfe9dde6..a6cfde7f 100644 --- a/ReallifeGamemode.Database/Migrations/DatabaseContextModelSnapshot.cs +++ b/ReallifeGamemode.Database/Migrations/DatabaseContextModelSnapshot.cs @@ -1308,7 +1308,7 @@ namespace ReallifeGamemode.Database.Migrations b.Property("BankAccountId") .HasColumnType("int"); - b.Property("BusSkill") + b.Property("BusSkill") .HasColumnType("int"); b.Property("BusinessId") @@ -1374,7 +1374,7 @@ namespace ReallifeGamemode.Database.Migrations b.Property("PaydayTimer") .HasColumnType("int"); - b.Property("PilotSkill") + b.Property("PilotSkill") .HasColumnType("int"); b.Property("PlayedMinutes") diff --git a/ReallifeGamemode.Database/ReallifeGamemode.Database.csproj b/ReallifeGamemode.Database/ReallifeGamemode.Database.csproj index 7da0f914..54ccec63 100644 --- a/ReallifeGamemode.Database/ReallifeGamemode.Database.csproj +++ b/ReallifeGamemode.Database/ReallifeGamemode.Database.csproj @@ -31,8 +31,4 @@ ..\Import\Newtonsoft.Json.dll - - - - diff --git a/ReallifeGamemode.Server/Events/Key.cs b/ReallifeGamemode.Server/Events/Key.cs index cecdabdc..ee3aab4f 100644 --- a/ReallifeGamemode.Server/Events/Key.cs +++ b/ReallifeGamemode.Server/Events/Key.cs @@ -504,6 +504,9 @@ namespace ReallifeGamemode.Server.Events player.SendNotification("~r~Du hast keinen Schlüssel."); return; } + if(player.IsAdminDuty()) + { + } else { if (u.JobId == 4)