From 18a2c3c993e3a61adf6d6c769ed2cf3483c499ac Mon Sep 17 00:00:00 2001 From: Tim Date: Sat, 11 Dec 2021 11:28:27 -0800 Subject: [PATCH] update to 1.18 --- dependency-reduced-pom.xml | 14 +++++++++-- pom.xml | 24 +++++++++++++++---- .../energeticstorage/tasks/HopperTask.java | 3 ++- 3 files changed, 34 insertions(+), 7 deletions(-) diff --git a/dependency-reduced-pom.xml b/dependency-reduced-pom.xml index 5a02ce9..da057dc 100644 --- a/dependency-reduced-pom.xml +++ b/dependency-reduced-pom.xml @@ -59,6 +59,10 @@ codemc-repo https://repo.codemc.org/repository/maven-public/ + + minecraft-repo + https://libraries.minecraft.net/ + @@ -69,8 +73,14 @@ org.spigotmc - spigot - 1.14-R0.1-SNAPSHOT + spigot-api + 1.18.1-R0.1-SNAPSHOT + provided + + + org.bukkit + bukkit + 1.15.2-R0.1-SNAPSHOT provided diff --git a/pom.xml b/pom.xml index 35f0a6f..b5405f2 100644 --- a/pom.xml +++ b/pom.xml @@ -88,26 +88,37 @@ codemc-snapshots https://repo.codemc.io/repository/maven-snapshots/ --> + + minecraft-repo + https://libraries.minecraft.net/ + default + org.spigotmc - spigot - 1.14-R0.1-SNAPSHOT + spigot-api + 1.18.1-R0.1-SNAPSHOT + provided + + + org.bukkit + bukkit + 1.15.2-R0.1-SNAPSHOT provided de.tr7zw item-nbt-api - 2.8.0 + 2.9.0-SNAPSHOT net.wesjd anvilgui - 1.5.1-SNAPSHOT + 1.5.3-SNAPSHOT com.googlecode.json-simple @@ -124,5 +135,10 @@ annotations 13.0 + + com.mojang + authlib + 1.5.21 + diff --git a/src/main/java/net/seanomik/energeticstorage/tasks/HopperTask.java b/src/main/java/net/seanomik/energeticstorage/tasks/HopperTask.java index 40e9ee4..69766ac 100644 --- a/src/main/java/net/seanomik/energeticstorage/tasks/HopperTask.java +++ b/src/main/java/net/seanomik/energeticstorage/tasks/HopperTask.java @@ -8,10 +8,11 @@ import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.block.BlockFace; -import org.bukkit.craftbukkit.libs.jline.internal.Nullable; +// import org.bukkit.craftbukkit.libs.jline.internal.Nullable; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack; import org.bukkit.scheduler.BukkitRunnable; +import org.jetbrains.annotations.Nullable; import java.util.*;