diff --git a/SCPStats/EventHandler.cs b/SCPStats/EventHandler.cs index 2e01194..be62556 100644 --- a/SCPStats/EventHandler.cs +++ b/SCPStats/EventHandler.cs @@ -451,7 +451,7 @@ internal static void OnUse(UsedItemEventArgs ev) var playerInfo = Helper.GetPlayerInfo(ev.Player); if (!playerInfo.IsAllowed || playerInfo.PlayerID == null || !Helper.IsRoundRunning()) return; - WebsocketHandler.SendRequest(RequestType.Use, "{\"playerid\":\""+playerInfo.PlayerID+"\", \"itemid\":\""+ev.Item.Base.ItemTypeId.ToID()+"\"}"); + WebsocketHandler.SendRequest(RequestType.Use, "{\"playerid\":\""+playerInfo.PlayerID+"\",\"itemid\":\""+ev.Item.Base.ItemTypeId.ToID()+"\"}"); } internal static void OnThrow(ThrowingItemEventArgs ev) @@ -461,7 +461,7 @@ internal static void OnThrow(ThrowingItemEventArgs ev) var playerInfo = Helper.GetPlayerInfo(ev.Player); if (!playerInfo.IsAllowed || playerInfo.PlayerID == null) return; - WebsocketHandler.SendRequest(RequestType.Use, "{\"playerid\":\""+playerInfo.PlayerID+"\", \"itemid\":\""+ev.Item.Base.ItemTypeId.ToID()+"\"}"); + WebsocketHandler.SendRequest(RequestType.Use, "{\"playerid\":\""+playerInfo.PlayerID+"\",\"itemid\":\""+ev.Item.Base.ItemTypeId.ToID()+"\"}"); } internal static void OnUpgrade(UpgradingItemEventArgs ev)