Move mod loading to server entry point

This commit is contained in:
Li 2022-05-07 13:30:51 +12:00
parent 518018e54e
commit 412430ec76
3 changed files with 11 additions and 6 deletions

View file

@ -8277,8 +8277,6 @@ namespace HISP.Server
minuteTimer = new Timer(new TimerCallback(onMinuteTick), null, oneMinute, oneMinute);
Logger.InfoPrint("Binding to ip: " + ConfigReader.BindIP + " On port: " + ConfigReader.Port.ToString());
// Load all/any mods
ModLoader.ReloadModsFromFilesystem();
SocketAsyncEventArgs e = new SocketAsyncEventArgs();
e.Completed += GameClient.CreateClient;