mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
a
This commit is contained in:
1 parent
39b4073f99
commit
0b7b829416
4 files changed
+5
-4
No files matched your search
@@ -786,7 +786,7 @@ public static class TheMindGame
|
||||
byte id = FindTargetIdFromText();
|
||||
if (id == byte.MaxValue) break;
|
||||
|
||||
if (!pc.AmOwner && spamRequired)
|
||||
if (!pc.IsModdedClient() && spamRequired)
|
||||
Utils.SendMessage("\n", pc.PlayerId, Translator.GetString("NoSpamAnymoreUseCmd"));
|
||||
|
||||
if (id == WinningBriefcaseHolderId)
|
||||
|
||||
+1
-1
@@ -642,7 +642,7 @@ internal static class RPCHandlerPatch
|
||||
string commandKey = reader.ReadString();
|
||||
string text = reader.ReadString();
|
||||
|
||||
if (__instance == null || !__instance.IsModdedClient())
|
||||
if (!__instance || !__instance.IsModdedClient())
|
||||
{
|
||||
Logger.Error("Player is null or not a modded client", "RequestCommandProcessingFromHost");
|
||||
break;
|
||||
|
||||
@@ -499,6 +499,7 @@ internal static class ChatCommands
|
||||
{
|
||||
Utils.SendMessage(GetString("CovenInfoDescription"), player.PlayerId);
|
||||
}
|
||||
|
||||
private static void NeutralInfoCommand(PlayerControl player, string text, string[] args)
|
||||
{
|
||||
Utils.SendMessage(GetString("NeutralInfoDescription"), player.PlayerId);
|
||||
|
||||
@@ -961,7 +961,7 @@
|
||||
"InspectorCheckSelf": "HA!! You thought it would be this easy. You can not check yourself",
|
||||
"InspectorCheckTargetKnow": "Targets know they were checked by <color=#0D57AF>Inspector</color>",
|
||||
"InspectorCheckTargetMsg": " were checked by Inspector.",
|
||||
"InspectorCheckTrue": "<b>{0}</b> and <b>{1}</b> are in the same team!\"",
|
||||
"InspectorCheckTrue": "<b>{0}</b> and <b>{1}</b> are in the same team!",
|
||||
"InspectorCopTargetReveal": "Looks like <b>{0}</b> is aligned with team <b>{1}</b>",
|
||||
"InspectorDead": "You can not use your power after death",
|
||||
"InspectorTryHideMsg": "Hide <color=#0D57AF>Inspector</color>'s commands",
|
||||
@@ -1760,7 +1760,7 @@
|
||||
"CouncillorInfoLong": "(Impostors):\\nAs the Councillor, you can kill players during a meeting like a Judge.\\n\\nWhen killing in a meeting, those kills will appear as a trial from a Judge.\\n\\nThe kill command is <b>/cmd tl [player id]</b>\\nYou can see the player's id before the player's name, or use the <b>/cmd id</b> command to view the id of all players.",
|
||||
"CouncillorCanMurderImpostor": "Can Murder <color=#ff1919>Impostors</color>",
|
||||
"CouncillorCanMurderMadmate": "Can Murder <color=#ff1919>Madmates</color>",
|
||||
"CouncillorDead": " You can't murder from the dead.\"",
|
||||
"CouncillorDead": " You can't murder from the dead.",
|
||||
"CouncillorMakeEvilJudgeClear": "Show Trial as Councillor Murder",
|
||||
"CouncillorMurderMax": "Sorry, you've reached the maximum amount of murders.",
|
||||
"CouncillorMurderMaxMeeting": "You cannot murder more players in this meeting. You've reached the limit set by the host.",
|
||||
|
||||
Reference in new issue
Block a user