Skip to content

Commit

Permalink
Update OpenMod.Unturned to latest, fixes #24.
Browse files Browse the repository at this point in the history
  • Loading branch information
DiFFoZ committed Nov 17, 2020
1 parent 4961786 commit d09ff7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Dummy/Dummy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="OpenMod.Unturned" Version="2.2.1" />
<PackageReference Include="OpenMod.Unturned" Version="2.3.7" />
</ItemGroup>




</Project>
2 changes: 1 addition & 1 deletion Dummy/NetTransports/NullTransportConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public bool TryGetPort(out ushort port)

public IPAddress GetAddress()
{
return new IPAddress(0);
return null;
}

public string GetAddressString(bool withPort)
Expand Down
2 changes: 0 additions & 2 deletions Dummy/ServiceConfigurator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ public class ServiceConfigurator : IServiceConfigurator
{
public void ConfigureServices(IOpenModServiceConfigurationContext openModStartupContext, IServiceCollection serviceCollection)
{
serviceCollection.AddSingleton<IDummyProvider, DummyProvider>();

serviceCollection.Configure<UserManagerOptions>(options => options.AddUserProvider<DummyProvider>());
serviceCollection.Configure<PermissionCheckerOptions>(options =>
{
Expand Down

0 comments on commit d09ff7a

Please sign in to comment.