fix issue with vpn detection using new interaction
This commit is contained in:
parent
3b83729457
commit
a15da15d3e
@ -83,7 +83,7 @@ const plugin = {
|
||||
this.logger.WriteInfo(`Loaded ${vpnExceptionIds.length} ids into whitelist`);
|
||||
|
||||
this.interactionRegistration = _serviceResolver.ResolveService('IInteractionRegistration');
|
||||
this.interactionRegistration.RegisterScriptInteraction('WhitelistVPN', this.name, (originId, targetId, game, token) => {
|
||||
this.interactionRegistration.RegisterScriptInteraction('WhitelistVPN', this.name, (targetId, game, token) => {
|
||||
if (vpnExceptionIds.includes(targetId)) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user