From f103c2e3e28b67f186290d1a41f83cabe3751d3a Mon Sep 17 00:00:00 2001 From: hydrant Date: Sun, 11 Apr 2021 23:13:29 +0200 Subject: [PATCH 1/2] [HOTFIX] WT for all when started, not loaded --- ReallifeGamemode.Server/WeaponDeal/WeaponDealManager.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ReallifeGamemode.Server/WeaponDeal/WeaponDealManager.cs b/ReallifeGamemode.Server/WeaponDeal/WeaponDealManager.cs index 096e59de..e2aa0781 100644 --- a/ReallifeGamemode.Server/WeaponDeal/WeaponDealManager.cs +++ b/ReallifeGamemode.Server/WeaponDeal/WeaponDealManager.cs @@ -18,7 +18,15 @@ namespace ReallifeGamemode.Server.WeaponDeal public static bool checkWeaponDbyVehicle(Vehicle vehicle) { if (!vehicle.HasData("WeaponDealLoad") || vehicle.GetData("WeaponDealLoad") == false) + { return false; + } + + + if(!vehicle.HasData("weaponDeal") || vehicle.GetData("weapionDeal") == false) + { + return false; + } return true; } From cab9e6c0a98e492af3e68d43578e1db30b47d740 Mon Sep 17 00:00:00 2001 From: hydrant Date: Sun, 11 Apr 2021 23:13:41 +0200 Subject: [PATCH 2/2] [HOTFIX] showtickets alias /st --- ReallifeGamemode.Server/Report/Report.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Server/Report/Report.cs b/ReallifeGamemode.Server/Report/Report.cs index 7d42f5ea..3c0ba2c7 100644 --- a/ReallifeGamemode.Server/Report/Report.cs +++ b/ReallifeGamemode.Server/Report/Report.cs @@ -24,7 +24,7 @@ namespace ReallifeGamemode.Server.Report //ChatService.BroadcastAdmin("Eingehendes Ticket von " + client.Name + ": " + message + " (Benutze /showtickets)", AdminLevel.ADMIN); } - [Command("showtickets", "~m~Benutzung: ~s~/showtickets")] + [Command("showtickets", "~m~Benutzung: ~s~/showtickets", Alias = "st")] public void CmdAdminShowtickets(Player client) { if (!client.GetUser()?.IsAdmin(AdminLevel.SUPPORTER) ?? true)