Skip to content

Commit

Permalink
Remove unneeded spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
PintTheDragon committed Dec 18, 2021
1 parent dc7df2b commit 58739b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SCPStats/EventHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 58739b5

Please sign in to comment.