From 22ff397da2233dc5bb4a0a429c6e3e69c7a1854a Mon Sep 17 00:00:00 2001 From: DaniFoldi Date: Mon, 8 Nov 2021 22:43:01 +0000 Subject: [PATCH] Optimize imports --- .../danifoldi/bungeegui/inject/BungeeGuiComponent.java | 1 - .../com/danifoldi/bungeegui/main/BungeeGuiListener.java | 8 -------- .../java/com/danifoldi/bungeegui/main/GuiHandler.java | 8 -------- 3 files changed, 17 deletions(-) diff --git a/src/main/java/com/danifoldi/bungeegui/inject/BungeeGuiComponent.java b/src/main/java/com/danifoldi/bungeegui/inject/BungeeGuiComponent.java index 6ff7d2a..33a6297 100644 --- a/src/main/java/com/danifoldi/bungeegui/inject/BungeeGuiComponent.java +++ b/src/main/java/com/danifoldi/bungeegui/inject/BungeeGuiComponent.java @@ -7,7 +7,6 @@ import net.md_5.bungee.api.ProxyServer; import net.md_5.bungee.api.plugin.PluginManager; import net.md_5.bungee.api.scheduler.TaskScheduler; -import org.intellij.lang.annotations.MagicConstant; import org.jetbrains.annotations.NotNull; import javax.inject.Singleton; diff --git a/src/main/java/com/danifoldi/bungeegui/main/BungeeGuiListener.java b/src/main/java/com/danifoldi/bungeegui/main/BungeeGuiListener.java index 0a68071..466b9ae 100644 --- a/src/main/java/com/danifoldi/bungeegui/main/BungeeGuiListener.java +++ b/src/main/java/com/danifoldi/bungeegui/main/BungeeGuiListener.java @@ -1,18 +1,10 @@ package com.danifoldi.bungeegui.main; -import com.danifoldi.bungeegui.gui.GuiGrid; -import com.danifoldi.bungeegui.util.SoundUtil; -import dev.simplix.protocolize.api.inventory.Inventory; -import dev.simplix.protocolize.api.inventory.InventoryClick; -import dev.simplix.protocolize.api.inventory.InventoryClose; -import dev.simplix.protocolize.data.inventory.InventoryType; -import net.md_5.bungee.api.connection.ProxiedPlayer; import net.md_5.bungee.api.event.PlayerDisconnectEvent; import net.md_5.bungee.api.event.ServerSwitchEvent; import net.md_5.bungee.api.plugin.Listener; import net.md_5.bungee.event.EventHandler; import org.jetbrains.annotations.NotNull; -import org.jetbrains.annotations.Nullable; import javax.inject.Inject; import java.util.logging.Logger; diff --git a/src/main/java/com/danifoldi/bungeegui/main/GuiHandler.java b/src/main/java/com/danifoldi/bungeegui/main/GuiHandler.java index 3650df1..a558137 100644 --- a/src/main/java/com/danifoldi/bungeegui/main/GuiHandler.java +++ b/src/main/java/com/danifoldi/bungeegui/main/GuiHandler.java @@ -12,7 +12,6 @@ import com.danifoldi.bungeegui.util.StringUtil; import com.electronwill.nightconfig.core.Config; import com.electronwill.nightconfig.core.EnumGetMethod; -import dagger.Module; import dev.simplix.protocolize.api.Protocolize; import dev.simplix.protocolize.api.SoundCategory; import dev.simplix.protocolize.api.inventory.Inventory; @@ -21,12 +20,6 @@ import net.md_5.bungee.api.ProxyServer; import net.md_5.bungee.api.connection.ProxiedPlayer; import net.md_5.bungee.api.plugin.PluginManager; -import net.querz.nbt.tag.ByteTag; -import net.querz.nbt.tag.CompoundTag; -import net.querz.nbt.tag.IntTag; -import net.querz.nbt.tag.ListTag; -import net.querz.nbt.tag.ShortTag; -import net.querz.nbt.tag.StringTag; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; @@ -38,7 +31,6 @@ import java.util.List; import java.util.Locale; import java.util.Map; -import java.util.Optional; import java.util.Set; import java.util.UUID; import java.util.concurrent.ConcurrentHashMap;