From 6caf91ee602c65561a099e7da074378f6ccb68ef Mon Sep 17 00:00:00 2001 From: FlorianMichael <60033407+FlorianMichael@users.noreply.github.com> Date: Wed, 14 Feb 2024 23:07:19 +0100 Subject: [PATCH] Delete unused imports --- .../de/florianmichael/viaforge/common/platform/VFPlatform.java | 1 - .../java/de/florianmichael/viaforge/gui/GuiProtocolSelector.java | 1 - .../florianmichael/viaforge/mixin/impl/MixinGuiConnecting_1.java | 1 - .../florianmichael/viaforge/mixin/impl/MixinGuiOverlayDebug.java | 1 - .../viaforge/mixin/impl/MixinGuiScreenAddServer.java | 1 - .../viaforge/mixin/impl/MixinNetHandlerLoginClient.java | 1 - .../florianmichael/viaforge/mixin/impl/MixinNetworkManager.java | 1 - .../de/florianmichael/viaforge/mixin/impl/MixinServerData.java | 1 - .../de/florianmichael/viaforge/mixin/impl/MixinServerPinger.java | 1 - 9 files changed, 9 deletions(-) diff --git a/src/main/java/de/florianmichael/viaforge/common/platform/VFPlatform.java b/src/main/java/de/florianmichael/viaforge/common/platform/VFPlatform.java index f9ca471..8033289 100644 --- a/src/main/java/de/florianmichael/viaforge/common/platform/VFPlatform.java +++ b/src/main/java/de/florianmichael/viaforge/common/platform/VFPlatform.java @@ -19,7 +19,6 @@ package de.florianmichael.viaforge.common.platform; import net.raphimc.vialegacy.protocols.release.protocol1_8to1_7_6_10.providers.GameProfileFetcher; -import net.raphimc.vialoader.util.VersionEnum; import java.io.File; import java.util.function.Supplier; diff --git a/src/main/java/de/florianmichael/viaforge/gui/GuiProtocolSelector.java b/src/main/java/de/florianmichael/viaforge/gui/GuiProtocolSelector.java index f377d17..6e9b628 100644 --- a/src/main/java/de/florianmichael/viaforge/gui/GuiProtocolSelector.java +++ b/src/main/java/de/florianmichael/viaforge/gui/GuiProtocolSelector.java @@ -28,7 +28,6 @@ import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.GuiScreen; import net.minecraft.client.gui.GuiSlot; import net.raphimc.vialoader.util.ProtocolVersionList; -import net.raphimc.vialoader.util.VersionEnum; import org.lwjgl.input.Keyboard; import org.lwjgl.opengl.GL11; diff --git a/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinGuiConnecting_1.java b/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinGuiConnecting_1.java index 729805e..e75e051 100644 --- a/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinGuiConnecting_1.java +++ b/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinGuiConnecting_1.java @@ -23,7 +23,6 @@ import de.florianmichael.viaforge.common.ViaForgeCommon; import de.florianmichael.viaforge.common.gui.ExtendedServerData; import net.minecraft.client.Minecraft; import net.minecraft.network.NetworkManager; -import net.raphimc.vialoader.util.VersionEnum; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Redirect; diff --git a/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinGuiOverlayDebug.java b/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinGuiOverlayDebug.java index f941499..b6d1377 100644 --- a/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinGuiOverlayDebug.java +++ b/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinGuiOverlayDebug.java @@ -22,7 +22,6 @@ import com.viaversion.viaversion.api.protocol.version.ProtocolVersion; import de.florianmichael.viaforge.common.ViaForgeCommon; import net.minecraft.client.gui.GuiOverlayDebug; import net.raphimc.vialegacy.api.LegacyProtocolVersion; -import net.raphimc.vialoader.util.VersionEnum; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; diff --git a/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinGuiScreenAddServer.java b/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinGuiScreenAddServer.java index bc6a256..5262ae8 100644 --- a/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinGuiScreenAddServer.java +++ b/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinGuiScreenAddServer.java @@ -28,7 +28,6 @@ import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.GuiScreen; import net.minecraft.client.gui.GuiScreenAddServer; import net.minecraft.client.multiplayer.ServerData; -import net.raphimc.vialoader.util.VersionEnum; import org.spongepowered.asm.mixin.Final; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; diff --git a/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinNetHandlerLoginClient.java b/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinNetHandlerLoginClient.java index 19eb82d..e4ca134 100644 --- a/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinNetHandlerLoginClient.java +++ b/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinNetHandlerLoginClient.java @@ -27,7 +27,6 @@ import net.minecraft.client.network.NetHandlerLoginClient; import net.minecraft.network.NetworkManager; import net.raphimc.vialegacy.api.LegacyProtocolVersion; import net.raphimc.vialegacy.protocols.release.protocol1_7_2_5to1_6_4.storage.ProtocolMetadataStorage; -import net.raphimc.vialoader.util.VersionEnum; import org.spongepowered.asm.mixin.Final; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; diff --git a/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinNetworkManager.java b/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinNetworkManager.java index 9937658..a9ae641 100644 --- a/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinNetworkManager.java +++ b/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinNetworkManager.java @@ -30,7 +30,6 @@ import net.minecraft.util.IChatComponent; import net.minecraft.util.LazyLoadBase; import net.raphimc.vialegacy.api.LegacyProtocolVersion; import net.raphimc.vialoader.netty.VLLegacyPipeline; -import net.raphimc.vialoader.util.VersionEnum; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; import org.spongepowered.asm.mixin.Unique; diff --git a/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinServerData.java b/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinServerData.java index fd76140..aea8940 100644 --- a/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinServerData.java +++ b/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinServerData.java @@ -22,7 +22,6 @@ import com.viaversion.viaversion.api.protocol.version.ProtocolVersion; import de.florianmichael.viaforge.common.gui.ExtendedServerData; import net.minecraft.client.multiplayer.ServerData; import net.minecraft.nbt.NBTTagCompound; -import net.raphimc.vialoader.util.VersionEnum; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Unique; import org.spongepowered.asm.mixin.injection.At; diff --git a/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinServerPinger.java b/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinServerPinger.java index 1aa0c2d..c433859 100644 --- a/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinServerPinger.java +++ b/src/main/java/de/florianmichael/viaforge/mixin/impl/MixinServerPinger.java @@ -24,7 +24,6 @@ import de.florianmichael.viaforge.common.gui.ExtendedServerData; import net.minecraft.client.multiplayer.ServerData; import net.minecraft.client.network.OldServerPinger; import net.minecraft.network.NetworkManager; -import net.raphimc.vialoader.util.VersionEnum; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Unique; import org.spongepowered.asm.mixin.injection.At;