diff --git a/HappyDay.iml b/HappyDay.iml index c1742db..f5de878 100644 --- a/HappyDay.iml +++ b/HappyDay.iml @@ -1,5 +1,5 @@ - + @@ -10,50 +10,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/pom.xml b/pom.xml index 807b98b..428fed7 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ xyz.alicedtrh happyday - 3.0-SNAPSHOT + 3.1-SNAPSHOT jar HappyDay @@ -75,7 +75,7 @@ io.papermc.paper paper-api - 1.18.2-R0.1-SNAPSHOT + 1.19.4-R0.1-SNAPSHOT provided @@ -93,7 +93,7 @@ com.github.angeschossen UpgradeableSpawnersAPI - 3.0.1 + 3.6.3 provided diff --git a/src/main/java/xyz/alicedtrh/happyday/UpgradeableSpawnersDependency.java b/src/main/java/xyz/alicedtrh/happyday/UpgradeableSpawnersDependency.java index f1ee6d7..8593fab 100644 --- a/src/main/java/xyz/alicedtrh/happyday/UpgradeableSpawnersDependency.java +++ b/src/main/java/xyz/alicedtrh/happyday/UpgradeableSpawnersDependency.java @@ -39,7 +39,7 @@ public class UpgradeableSpawnersDependency { public boolean isSpawnedBySpawner(@NotNull Entity entity) { if (loaded) { - return me.angeschossen.upgradeablespawners.api.UpgradeableSpawnersAPI.isSpawnedBySpawner(entity); + return me.angeschossen.upgradeablespawners.api.UpgradeableSpawnersAPI.getInstance().isSpawnedBySpawner(entity); } else { return false; } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 0939630..d3bb508 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,7 +1,7 @@ name: HappyDay version: '${project.version}' main: xyz.alicedtrh.happyday.HappyDay -api-version: 1.18 +api-version: 1.19 prefix: HD softdepend: - UpgradeableSpawners