Skip to content

Commit

Permalink
Update plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
PintTheDragon committed Dec 4, 2020
1 parent 1ad0139 commit 42a13e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SCPStats/AutoUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace SCPStats
{
internal static class AutoUpdater
{
private const string Version = "1.1.6-3";
private const string Version = "1.1.7";

internal static async Task RunUpdater(int waitTime = 0)
{
Expand Down
2 changes: 1 addition & 1 deletion SCPStats/EventHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ private static async Task CreateConnection(int delay = 0, bool sendInfo = false)
{
if (!HandleId(player.RawUserId).Equals(data[0])) continue;

if (flags[3] == "1")
if (flags[3] == "1" || player.CheckPermission("scpstats.hat"))
{
HatCommand.HatPlayers[player.UserId] = (ItemType) Convert.ToInt32(flags[4]);
}
Expand Down

0 comments on commit 42a13e8

Please sign in to comment.