Skip to content

Commit

Permalink
Fix for latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
PintTheDragon committed Nov 4, 2020
1 parent 8a37700 commit 2212969
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion SCPStats/EventHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ internal static void OnThrow(ThrowingGrenadeEventArgs ev)
{
if (!IsPlayerValid(ev.Player) || !RoundSummary.RoundInProgress() || !ev.IsAllowed) return;

SendRequest("10", "{\"playerid\": \""+HandleId(ev.Player.RawUserId)+"\", \"itemid\": \""+((int) ev.GrenadeManager.availableGrenades[ev.Id].inventoryID).ToString()+"\"}");
SendRequest("10", "{\"playerid\": \""+HandleId(ev.Player.RawUserId)+"\", \"itemid\": \""+((int) ev.GrenadeManager.availableGrenades[(int) ev.Type].inventoryID).ToString()+"\"}");
}
}
}
4 changes: 2 additions & 2 deletions SCPStats/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.1")]
[assembly: AssemblyFileVersion("1.1.1")]
[assembly: AssemblyVersion("1.1.2")]
[assembly: AssemblyFileVersion("1.1.2")]
2 changes: 1 addition & 1 deletion SCPStats/SCPStats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class SCPStats : Plugin<Config>
{
public override string Name { get; } = "ScpStats";
public override string Author { get; } = "PintTheDragon";
public override Version Version { get; } = new Version(1, 1, 1);
public override Version Version { get; } = new Version(1, 1, 2);
public override PluginPriority Priority { get; } = PluginPriority.Last;

internal static SCPStats Singleton;
Expand Down
24 changes: 12 additions & 12 deletions SCPStats/SCPStats.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,28 +43,28 @@
<HintPath>..\packages\Costura.Fody.5.0.0-alpha0281\lib\netstandard1.0\Costura.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.API, Version=2.1.7.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.2.1.7\lib\net472\Exiled.API.dll</HintPath>
<Reference Include="Exiled.API, Version=2.1.11.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.2.1.11\lib\net472\Exiled.API.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.Bootstrap, Version=2.1.7.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.2.1.7\lib\net472\Exiled.Bootstrap.dll</HintPath>
<Reference Include="Exiled.Bootstrap, Version=2.1.11.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.2.1.11\lib\net472\Exiled.Bootstrap.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.Events, Version=2.1.7.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.2.1.7\lib\net472\Exiled.Events.dll</HintPath>
<Reference Include="Exiled.Events, Version=2.1.11.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.2.1.11\lib\net472\Exiled.Events.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.Loader, Version=2.1.7.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.2.1.7\lib\net472\Exiled.Loader.dll</HintPath>
<Reference Include="Exiled.Loader, Version=2.1.11.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.2.1.11\lib\net472\Exiled.Loader.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.Permissions, Version=2.1.7.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.2.1.7\lib\net472\Exiled.Permissions.dll</HintPath>
<Reference Include="Exiled.Permissions, Version=2.1.11.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.2.1.11\lib\net472\Exiled.Permissions.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Exiled.Updater, Version=3.0.2.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.2.1.7\lib\net472\Exiled.Updater.dll</HintPath>
<Reference Include="Exiled.Updater, Version=3.0.3.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\packages\EXILED.2.1.11\lib\net472\Exiled.Updater.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.Extensions.Logging.Abstractions, Version=3.0.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60">
Expand Down
2 changes: 1 addition & 1 deletion SCPStats/packages.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Costura.Fody" version="5.0.0-alpha0281" targetFramework="net472" developmentDependency="true" />
<package id="EXILED" version="2.1.7" targetFramework="net472" />
<package id="EXILED" version="2.1.11" targetFramework="net472" />
<package id="Fody" version="6.3.0" targetFramework="net472" developmentDependency="true" />
<package id="Microsoft.Extensions.Logging.Abstractions" version="3.0.1" targetFramework="net472" />
<package id="Microsoft.NETCore.Platforms" version="1.1.0" targetFramework="net472" />
Expand Down

0 comments on commit 2212969

Please sign in to comment.