T-Support gibt kein Knastausbruch mehr
This commit is contained in:
@@ -209,8 +209,8 @@ namespace ReallifeGamemode.Server.Wanted
|
||||
|
||||
public static void BreakOut(Player player)
|
||||
{
|
||||
User user = player.GetUser();
|
||||
|
||||
if (player.IsTSupport()) return;
|
||||
User user = player.GetUser();
|
||||
using (var dbContext = new DatabaseContext())
|
||||
{
|
||||
user = player.GetUser(dbContext);
|
||||
@@ -225,8 +225,8 @@ namespace ReallifeGamemode.Server.Wanted
|
||||
[RemoteEvent("SERVER:BreakOutIfInPrison")]
|
||||
public void breakOutIfInPrison(Player player)
|
||||
{
|
||||
if (player.IsTSupport()) return;
|
||||
User user = player.GetUser();
|
||||
|
||||
using (var dbContext = new DatabaseContext())
|
||||
{
|
||||
if (Jailtime.ContainsKey(user.Id))
|
||||
|
||||
Reference in New Issue
Block a user