don't intercept commands for login plugin if they are from webfront
This commit is contained in:
parent
7d6bf88bfd
commit
6fa15d3dcc
@ -51,7 +51,7 @@ namespace IW4MAdmin.Plugins.Login
|
||||
|
||||
manager.CommandInterceptors.Add(gameEvent =>
|
||||
{
|
||||
if (gameEvent.Type != GameEvent.EventType.Command || gameEvent.Extra is null)
|
||||
if (gameEvent.Type != GameEvent.EventType.Command || gameEvent.Extra is null || gameEvent.IsRemote)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user