diff --git a/MinecraftService/Client/Forms/AddNewServerForm.cs b/MinecraftService/Client/Forms/AddNewServerForm.cs index 179e1ea..21ef56f 100644 --- a/MinecraftService/Client/Forms/AddNewServerForm.cs +++ b/MinecraftService/Client/Forms/AddNewServerForm.cs @@ -129,7 +129,7 @@ private void ServerTypeComboBox_SelectedIndexChanged(object sender, System.Event } private void VersionSelectComboBox_SelectedIndexChanged(object sender, System.EventArgs e) { - if(!_typeChanging && VersionSelectComboBox.Items.Count > 0 && _latestVersionLookup.GetValueOrDefault(GetArchFromString((string)ServerTypeComboBox.SelectedItem)).Version != ((SimpleVersionModel)((ComboBox)sender).SelectedItem).Version) { + if (!_typeChanging && VersionSelectComboBox.Items.Count > 0 && _latestVersionLookup.GetValueOrDefault(GetArchFromString((string)ServerTypeComboBox.SelectedItem)).Version != ((SimpleVersionModel)((ComboBox)sender).SelectedItem).Version) { _customVersionSelected = true; } } diff --git a/MinecraftService/Client/Networking/NetworkStrategies/LevelEditFile.cs b/MinecraftService/Client/Networking/NetworkStrategies/LevelEditFile.cs index cdb91c8..b1f465f 100644 --- a/MinecraftService/Client/Networking/NetworkStrategies/LevelEditFile.cs +++ b/MinecraftService/Client/Networking/NetworkStrategies/LevelEditFile.cs @@ -8,7 +8,6 @@ using System.Threading.Tasks; using MinecraftService.Client.Management; using MinecraftService.Shared.Classes; -using MinecraftService.Shared.Utilities; namespace MinecraftService.Client.Networking.NetworkStrategies { public class LevelEditFile : INetworkMessage { diff --git a/MinecraftService/Service/Server/ServerTypeLookup.cs b/MinecraftService/Service/Server/ServerTypeLookup.cs index 6628c6e..9c8fd63 100644 --- a/MinecraftService/Service/Server/ServerTypeLookup.cs +++ b/MinecraftService/Service/Server/ServerTypeLookup.cs @@ -1,4 +1,5 @@ using MinecraftService.Service.Server.Interfaces; +using MinecraftService.Service.Server.ServerControllers; using MinecraftService.Shared.Interfaces; using System; using System.Collections.Generic;