public void InvokePlayerPreAuth(PlayerPreAuthEvent ev, NPServer server) { PlayerPreAuth.InvokeSafely(ev); if (!AddonInstances.TryGetValue(server, out IAddonDedicated <IConfig, IConfig> addon)) { return; } addon.InvokePlayerPreAuth(ev); }
public void InvokePlayerPreAuth(PlayerPreAuthEvent ev) => PlayerPreAuth.InvokeSafely(ev);