Skip to content

Commit df769b0

Browse files
authored
feat: 修复编译并支持jitpack (#9)
1 parent f3c137d commit df769b0

4 files changed

Lines changed: 13 additions & 22 deletions

File tree

jitpack.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
jdk:
2+
- openjdk21

pom.xml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,14 @@
119119
</repository>
120120
<repository>
121121
<id>placeholderapi</id>
122-
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
122+
<url>https://repo.extendedclip.com/content/repositories/placeholderapi</url>
123+
</repository>
124+
<repository>
125+
<id>gugu-maven-repo</id>
126+
<url>https://maven.norain.city/snapshots</url>
127+
<snapshots>
128+
<enabled>true</enabled>
129+
</snapshots>
123130
</repository>
124131
</repositories>
125132

@@ -132,9 +139,9 @@
132139
<scope>provided</scope>
133140
</dependency>
134141
<dependency>
135-
<groupId>com.github.Slimefun</groupId>
142+
<groupId>com.github.SlimefunGuguProject</groupId>
136143
<artifactId>Slimefun4</artifactId>
137-
<version>b8f7dc</version>
144+
<version>2025.1.2</version>
138145
<scope>provided</scope>
139146
</dependency>
140147

@@ -206,7 +213,7 @@
206213
<dependency>
207214
<groupId>me.clip</groupId>
208215
<artifactId>placeholderapi</artifactId>
209-
<version>2.11.1</version>
216+
<version>2.11.6</version>
210217
<scope>provided</scope>
211218
</dependency>
212219
</dependencies>

src/main/java/io/github/sefiraat/emctech/slimefun/types/OwnedBlockMenuPreset.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,6 @@ protected OwnedBlockMenuPreset(@Nonnull String id,
2323
this.ownedVariableTickRateItem = ownedVariableTickRateItem;
2424
}
2525

26-
protected OwnedBlockMenuPreset(@Nonnull String id,
27-
@Nonnull String title,
28-
boolean universal,
29-
@Nonnull OwnedVariableTickRateItem ownedVariableTickRateItem
30-
) {
31-
super(id, title, universal);
32-
this.ownedVariableTickRateItem = ownedVariableTickRateItem;
33-
}
34-
3526
@Override
3627
public void newInstance(@Nonnull BlockMenu menu, @Nonnull Block block) {
3728
final String playerString = BlockStorage.getLocationInfo(block.getLocation(), "owner");

src/main/java/io/github/sefiraat/emctech/slimefun/types/OwnedBlockMenuPresetNode.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,6 @@ protected OwnedBlockMenuPresetNode(@Nonnull String id,
2323
this.ownedVariableTickRateItem = ownedVariableTickRateItem;
2424
}
2525

26-
protected OwnedBlockMenuPresetNode(@Nonnull String id,
27-
@Nonnull String title,
28-
boolean universal,
29-
@Nonnull OwnedVariableTickRateNode ownedVariableTickRateItem
30-
) {
31-
super(id, title, universal);
32-
this.ownedVariableTickRateItem = ownedVariableTickRateItem;
33-
}
34-
3526
@Override
3627
public void newInstance(@Nonnull BlockMenu menu, @Nonnull Block b) {
3728
final String playerString = BlockStorage.getLocationInfo(b.getLocation(), "owner");

0 commit comments

Comments
 (0)