fix get banned path
This commit is contained in:
@@ -40,7 +40,7 @@ public class PlayersController : WebApiController
|
|||||||
Statics.MultiplayerManager!.BanPlayer(id, false);
|
Statics.MultiplayerManager!.BanPlayer(id, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Route(HttpVerbs.Get, $"{RootPath}/{{id}}/banned")]
|
[Route(HttpVerbs.Get, $"{RootPath}/banned")]
|
||||||
public IEnumerable<ulong> Banned()
|
public IEnumerable<ulong> Banned()
|
||||||
{
|
{
|
||||||
return MySandboxGame.ConfigDedicated.Banned;
|
return MySandboxGame.ConfigDedicated.Banned;
|
||||||
|
@@ -2,5 +2,5 @@
|
|||||||
<PluginManifest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
<PluginManifest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
<Name>Torch Remote</Name>
|
<Name>Torch Remote</Name>
|
||||||
<Guid>284017F3-9682-4841-A544-EB04DB8CB9BA</Guid>
|
<Guid>284017F3-9682-4841-A544-EB04DB8CB9BA</Guid>
|
||||||
<Version>v1.0.10</Version>
|
<Version>v1.0.11</Version>
|
||||||
</PluginManifest>
|
</PluginManifest>
|
Reference in New Issue
Block a user