From c5ae0edd41136126ebdfea8a13e31c939e6c471e Mon Sep 17 00:00:00 2001 From: Mith <25213249+MrMith@users.noreply.github.com> Date: Mon, 18 Feb 2019 09:14:53 -0600 Subject: [PATCH] Moved from Moved from .NET 4.6.1 to .NET 4.7.1 Updated to Smod version 3.3.0 --- SCP-343/SCP-343.csproj | 2 +- SCP-343/SCP_343.cs | 6 +++--- SCP-343/SCP_343Commands.cs | 2 +- SCP-343/SCP_343EventLogic.cs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/SCP-343/SCP-343.csproj b/SCP-343/SCP-343.csproj index 4b55213..e0102b3 100644 --- a/SCP-343/SCP-343.csproj +++ b/SCP-343/SCP-343.csproj @@ -9,7 +9,7 @@ Properties SCP_343 SCP-343 - v4.6.1 + v4.7.1 512 true diff --git a/SCP-343/SCP_343.cs b/SCP-343/SCP_343.cs index a336bed..02c0556 100644 --- a/SCP-343/SCP_343.cs +++ b/SCP-343/SCP_343.cs @@ -10,10 +10,10 @@ namespace SCP_343 name = "SCP-343", description = "SCP-343 is a passive immortal D-Class Personnel. He spawns with one Flashlight and any weapon he picks up is morphed to prevent violence. He seeks to help out who he deems worthy.", id = "Mith.SCP-343", - version = "1.3.5", + version = "1.3.6", SmodMajor = 3, - SmodMinor = 2, - SmodRevision = 2 + SmodMinor = 3, + SmodRevision = 0 )] class SCP343 : Plugin { diff --git a/SCP-343/SCP_343Commands.cs b/SCP-343/SCP_343Commands.cs index 2e95f87..51fce42 100644 --- a/SCP-343/SCP_343Commands.cs +++ b/SCP-343/SCP_343Commands.cs @@ -45,7 +45,7 @@ public string[] OnCall(ICommandSender sender, string[] args) Playa.SetHealth(EventLogic._343Config.SCP343_HP); } - SCP343.Active343AndBadgeDict.Add(Playa.SteamId, new SCP343.PlayerInfo(Playa.GetUserGroup().Name, Playa.GetUserGroup().Color)); + SCP343.Active343AndBadgeDict.Add(Playa.SteamId, new SCP343.PlayerInfo(Playa.GetUserGroup().BadgeText, Playa.GetUserGroup().Color)); Playa.SetRank("red", "SCP-343"); return new string[] { "Made " + Playa.Name + " SCP343!" }; diff --git a/SCP-343/SCP_343EventLogic.cs b/SCP-343/SCP_343EventLogic.cs index 3be563c..d4126a9 100644 --- a/SCP-343/SCP_343EventLogic.cs +++ b/SCP-343/SCP_343EventLogic.cs @@ -55,7 +55,7 @@ public void OnRoundStart(RoundStartEvent ev) if (DClassList.Count > 0 && plugin.pluginManager.Server.GetPlayers().Count > 2) { Player TheChosenOne = DClassList[RNG.Next(DClassList.Count)]; - SCP343.Active343AndBadgeDict.Add(TheChosenOne.SteamId, new SCP343.PlayerInfo(TheChosenOne.GetUserGroup().Name, TheChosenOne.GetUserGroup().Color)); + SCP343.Active343AndBadgeDict.Add(TheChosenOne.SteamId, new SCP343.PlayerInfo(TheChosenOne.GetUserGroup().BadgeText, TheChosenOne.GetUserGroup().Color)); TheChosenOne.GiveItem(ItemType.FLASHLIGHT); if (_343Config.SCP343_HP != -1) {