From 98147fe721a0be5e470a703b0f765121a93fbe89 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sat, 19 Aug 2023 11:53:21 +0200 Subject: [PATCH] Fix ApiVersion --- src/de/steamwar/towerrun/TowerRun.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/de/steamwar/towerrun/TowerRun.java b/src/de/steamwar/towerrun/TowerRun.java index 28545d2..3db0449 100644 --- a/src/de/steamwar/towerrun/TowerRun.java +++ b/src/de/steamwar/towerrun/TowerRun.java @@ -30,15 +30,17 @@ import de.steamwar.towerrun.listener.NotLobbyListener; import lombok.Getter; import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.plugin.java.annotation.dependency.Dependency; +import org.bukkit.plugin.java.annotation.plugin.ApiVersion; import org.bukkit.plugin.java.annotation.plugin.Description; import org.bukkit.plugin.java.annotation.plugin.Plugin; import org.bukkit.plugin.java.annotation.plugin.author.Author; @Plugin(name = "TowerRun", version = "1.0.0") -@Dependency(value = "SpigotCore") -@Author(value = "YoyoNow") -@Author(value = "Chaoscaot") -@Description(value = "SteamWar TowerRun Plugin") +@Dependency("SpigotCore") +@Author("YoyoNow") +@Author("Chaoscaot") +@Description("SteamWar TowerRun Plugin") +@ApiVersion(ApiVersion.Target.v1_19) public class TowerRun extends JavaPlugin { @Getter