diff --git a/src/main/java/io/github/retrooper/packetevents/processor/BukkitEventProcessorInternal.java b/src/main/java/io/github/retrooper/packetevents/processor/BukkitEventProcessorInternal.java index 86dca0191d..144c3ef194 100644 --- a/src/main/java/io/github/retrooper/packetevents/processor/BukkitEventProcessorInternal.java +++ b/src/main/java/io/github/retrooper/packetevents/processor/BukkitEventProcessorInternal.java @@ -35,7 +35,6 @@ import org.bukkit.event.player.PlayerQuitEvent; import org.bukkit.event.world.ChunkLoadEvent; import org.bukkit.event.world.WorldLoadEvent; -import org.spigotmc.AsyncCatcher; import java.net.InetSocketAddress; import java.util.UUID; diff --git a/src/main/java/io/github/retrooper/packetevents/utils/server/ServerUtils.java b/src/main/java/io/github/retrooper/packetevents/utils/server/ServerUtils.java index 970d0d9962..2ae2bec0c7 100644 --- a/src/main/java/io/github/retrooper/packetevents/utils/server/ServerUtils.java +++ b/src/main/java/io/github/retrooper/packetevents/utils/server/ServerUtils.java @@ -31,7 +31,6 @@ import org.bukkit.entity.Entity; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; -import org.spigotmc.SpigotConfig; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; @@ -95,10 +94,6 @@ public NPCManager getNPCManager() { return npcManager; } - public boolean isBungeeCordEnabled() { - return SpigotConfig.bungee; - } - public BoundingBox getEntityBoundingBox(Entity entity) { Object nmsEntity = NMSUtils.getNMSEntity(entity); Object aabb = NMSUtils.getNMSAxisAlignedBoundingBox(nmsEntity);