From 396ab1263e404efc03784af8d4b375416f74e22e Mon Sep 17 00:00:00 2001 From: balugaq <129668183+balugaq@users.noreply.github.com> Date: Sat, 13 Jun 2026 20:21:14 +0800 Subject: [PATCH 1/3] support jitpack --- jitpack.yml | 2 ++ pom.xml | 11 +++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 jitpack.yml diff --git a/jitpack.yml b/jitpack.yml new file mode 100644 index 0000000..727c9ab --- /dev/null +++ b/jitpack.yml @@ -0,0 +1,2 @@ +jdk: + - openjdk21 diff --git a/pom.xml b/pom.xml index 4d70241..ed0f2fe 100644 --- a/pom.xml +++ b/pom.xml @@ -121,6 +121,13 @@ placeholderapi https://repo.extendedclip.com/content/repositories/placeholderapi/ + + gugu-maven-repo + https://maven.norain.city/snapshots + + true + + @@ -132,9 +139,9 @@ provided - com.github.Slimefun + com.github.SlimefunGuguProject Slimefun4 - b8f7dc + 2025.1.2 provided From 645f82aa2861917b511a879d33bee58a2188f8fb Mon Sep 17 00:00:00 2001 From: balugaq <129668183+balugaq@users.noreply.github.com> Date: Sat, 13 Jun 2026 20:29:23 +0800 Subject: [PATCH 2/3] fix placeholderapi dependency --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index ed0f2fe..33f4b83 100644 --- a/pom.xml +++ b/pom.xml @@ -119,7 +119,7 @@ placeholderapi - https://repo.extendedclip.com/content/repositories/placeholderapi/ + https://repo.extendedclip.com/content/repositories/placeholderapi gugu-maven-repo @@ -213,7 +213,7 @@ me.clip placeholderapi - 2.11.1 + 2.11.6 provided From d6e4b43d235b40aa22060ff3106b1d85f7b8f57d Mon Sep 17 00:00:00 2001 From: balugaq <129668183+balugaq@users.noreply.github.com> Date: Sat, 13 Jun 2026 20:35:41 +0800 Subject: [PATCH 3/3] fix compile --- .../emctech/slimefun/types/OwnedBlockMenuPreset.java | 9 --------- .../emctech/slimefun/types/OwnedBlockMenuPresetNode.java | 9 --------- 2 files changed, 18 deletions(-) diff --git a/src/main/java/io/github/sefiraat/emctech/slimefun/types/OwnedBlockMenuPreset.java b/src/main/java/io/github/sefiraat/emctech/slimefun/types/OwnedBlockMenuPreset.java index 04a3cac..8d3f28e 100644 --- a/src/main/java/io/github/sefiraat/emctech/slimefun/types/OwnedBlockMenuPreset.java +++ b/src/main/java/io/github/sefiraat/emctech/slimefun/types/OwnedBlockMenuPreset.java @@ -23,15 +23,6 @@ protected OwnedBlockMenuPreset(@Nonnull String id, this.ownedVariableTickRateItem = ownedVariableTickRateItem; } - protected OwnedBlockMenuPreset(@Nonnull String id, - @Nonnull String title, - boolean universal, - @Nonnull OwnedVariableTickRateItem ownedVariableTickRateItem - ) { - super(id, title, universal); - this.ownedVariableTickRateItem = ownedVariableTickRateItem; - } - @Override public void newInstance(@Nonnull BlockMenu menu, @Nonnull Block block) { final String playerString = BlockStorage.getLocationInfo(block.getLocation(), "owner"); diff --git a/src/main/java/io/github/sefiraat/emctech/slimefun/types/OwnedBlockMenuPresetNode.java b/src/main/java/io/github/sefiraat/emctech/slimefun/types/OwnedBlockMenuPresetNode.java index 915ff79..708a54e 100644 --- a/src/main/java/io/github/sefiraat/emctech/slimefun/types/OwnedBlockMenuPresetNode.java +++ b/src/main/java/io/github/sefiraat/emctech/slimefun/types/OwnedBlockMenuPresetNode.java @@ -23,15 +23,6 @@ protected OwnedBlockMenuPresetNode(@Nonnull String id, this.ownedVariableTickRateItem = ownedVariableTickRateItem; } - protected OwnedBlockMenuPresetNode(@Nonnull String id, - @Nonnull String title, - boolean universal, - @Nonnull OwnedVariableTickRateNode ownedVariableTickRateItem - ) { - super(id, title, universal); - this.ownedVariableTickRateItem = ownedVariableTickRateItem; - } - @Override public void newInstance(@Nonnull BlockMenu menu, @Nonnull Block b) { final String playerString = BlockStorage.getLocationInfo(b.getLocation(), "owner");