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..33f4b83 100644 --- a/pom.xml +++ b/pom.xml @@ -119,7 +119,14 @@ placeholderapi - https://repo.extendedclip.com/content/repositories/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 @@ -206,7 +213,7 @@ me.clip placeholderapi - 2.11.1 + 2.11.6 provided 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");