Skip to content

Commit

Permalink
Code cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
crowbarmaster committed Mar 1, 2024
1 parent 2818fb8 commit ab6cf16
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MinecraftService/Client/Forms/AddNewServerForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions MinecraftService/Service/Server/ServerTypeLookup.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using MinecraftService.Service.Server.Interfaces;
using MinecraftService.Service.Server.ServerControllers;
using MinecraftService.Shared.Interfaces;
using System;
using System.Collections.Generic;
Expand Down

0 comments on commit ab6cf16

Please sign in to comment.