mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-10-20 01:46:19 +00:00
fix
This commit is contained in:
1 parent
4c9c97af10
commit
7b5a0f3bbf
2 files changed
+6
-2
No files matched your search
@@ -44,8 +44,12 @@ class BetterNotificationManager
|
||||
}
|
||||
|
||||
string text = $"Player: <color=#0097b5>{player?.BetterData().RealName}</color> Has been detected doing an unauthorized action: <b><color=#fc0000>{Reason}</color></b>";
|
||||
string rawText = $"Player: <color=#0097b5>{player?.BetterData().RealName}</color> Has been detected doing an unauthorized action: <b><color=#fc0000>{reason}</color></b>";
|
||||
if (newText != "")
|
||||
{
|
||||
text = $"Player: <color=#0097b5>{player?.BetterData().RealName}</color> " + newText + $": <b><color=#fc0000>{Reason}</color></b>";
|
||||
rawText = $"Player: <color=#0097b5>{player?.BetterData().RealName}</color> " + newText + $": <b><color=#fc0000>{reason}</color></b>";
|
||||
}
|
||||
|
||||
if (!AntiCheat.PlayerData.ContainsKey(Utils.GetHashPuid(player)))
|
||||
{
|
||||
@@ -54,7 +58,7 @@ class BetterNotificationManager
|
||||
Notify(text, Time: 8f);
|
||||
}
|
||||
|
||||
Logger.LogCheat(Utils.RemoveHtmlText(text));
|
||||
Logger.LogCheat(Utils.RemoveHtmlText(rawText));
|
||||
|
||||
if (GameStates.IsHost && kickPlayer)
|
||||
{
|
||||
|
||||
@@ -24,7 +24,7 @@ public class Main : BasePlugin
|
||||
{
|
||||
public const ReleaseTypes ReleaseBuildType = ReleaseTypes.Release;
|
||||
public const string CanaryNum = "0";
|
||||
public const string HotfixNum = "1";
|
||||
public const string HotfixNum = "2";
|
||||
public const bool IsHotFix = true;
|
||||
public const string PluginGuid = "com.d1gq.betteramongus";
|
||||
public const string PluginVersion = "1.1.2";
|
||||
|
||||
Reference in new issue
Block a user