Skip to content

Commit

Permalink
Fix Provisioning not applying minplayercount
Browse files Browse the repository at this point in the history
Fix Provisioning not applying minplayercount
  • Loading branch information
4g0tt3nSou1 authored Jan 8, 2024
1 parent c646232 commit 7406599
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions builtin/BitMod.Provision/Host/ProvisionHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ public async Task OnServerRoundEnd(RoundEndedEventArgs ev)
Provision(ev.Server);
}

[BitEvent]
public async Task OnPlayerConnected(PlayerConnectedEventArgs ev)

Check failure on line 42 in builtin/BitMod.Provision/Host/ProvisionHost.cs

View workflow job for this annotation

GitHub Actions / Build Nightlies (linux-x64)

The type or namespace name 'PlayerConnectedEventArgs' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 42 in builtin/BitMod.Provision/Host/ProvisionHost.cs

View workflow job for this annotation

GitHub Actions / Build Nightlies (linux-musl-x64)

The type or namespace name 'PlayerConnectedEventArgs' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 42 in builtin/BitMod.Provision/Host/ProvisionHost.cs

View workflow job for this annotation

GitHub Actions / Build Nightlies (win-x64)

The type or namespace name 'PlayerConnectedEventArgs' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 42 in builtin/BitMod.Provision/Host/ProvisionHost.cs

View workflow job for this annotation

GitHub Actions / Build Nightlies (win-x86)

The type or namespace name 'PlayerConnectedEventArgs' could not be found (are you missing a using directive or an assembly reference?)
{
Provision(ev.Server);
}

private void Provision(BitServer server)
{
var globalAdapter = new ProvisionConfigAdapter(_config);
Expand Down

0 comments on commit 7406599

Please sign in to comment.