diff --git a/pom.xml b/pom.xml index e5b6224..a89ef51 100644 --- a/pom.xml +++ b/pom.xml @@ -26,25 +26,21 @@ public-rpg https://repo.aurora-pixels.com/repository/public-rpg/ - - spigotmc-repo - https://hub.spigotmc.org/nexus/content/repositories/snapshots/ - + + io.papermc.paper + paper-api + 1.20.6-R0.1-SNAPSHOT + provided + com.sk89q fastasyncworldedit 2.11.1 857 - - org.spigotmc - spigot-api - 1.20.6-R0.1-SNAPSHOT - provided - diff --git a/src/main/java/com/yaohun/enderdragonwars/Main.java b/src/main/java/com/yaohun/enderdragonwars/Main.java index 0aa6f7d..cf7fc21 100644 --- a/src/main/java/com/yaohun/enderdragonwars/Main.java +++ b/src/main/java/com/yaohun/enderdragonwars/Main.java @@ -11,7 +11,6 @@ import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; -import org.jetbrains.annotations.NotNull; public class Main extends JavaPlugin { diff --git a/src/main/java/com/yaohun/enderdragonwars/effect/types/BomBomEffect.java b/src/main/java/com/yaohun/enderdragonwars/effect/types/BomBomEffect.java index 9cb012f..f2215b2 100644 --- a/src/main/java/com/yaohun/enderdragonwars/effect/types/BomBomEffect.java +++ b/src/main/java/com/yaohun/enderdragonwars/effect/types/BomBomEffect.java @@ -1,7 +1,5 @@ package com.yaohun.enderdragonwars.effect.types; -import com.sk89q.worldedit.EditSession; -import com.sk89q.worldedit.world.entity.EntityType; import com.yaohun.enderdragonwars.Main; import com.yaohun.enderdragonwars.effect.GiftEffect; import com.yaohun.enderdragonwars.game.Game; @@ -9,7 +7,6 @@ import com.yaohun.enderdragonwars.util.EntityUtil; import net.kyori.adventure.text.Component; import org.bukkit.*; import org.bukkit.attribute.Attribute; -import org.bukkit.block.Block; import org.bukkit.boss.BarColor; import org.bukkit.boss.BarStyle; import org.bukkit.boss.BossBar;