File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
src/main/java/io/github/miniplaceholders/expansion/spark Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ dependencies {
1212repositories {
1313 mavenCentral()
1414 maven(" https://repo.lucko.me/" )
15- maven(" https://central.sonatype.com/repository/maven-snapshots/" )
1615}
1716
1817java.toolchain.languageVersion.set(JavaLanguageVersion .of(21 ))
Original file line number Diff line number Diff line change 11group = io.github.miniplaceholders
2- version = 2.0.0
2+ version = 2.0.1-SNAPSHOT
33description = Spark-Expansion
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ adventure = "4.24.0"
77
88blossom = " 2.1.0"
99shadow = " 8.1.1"
10- runtask = " 3.0.0 "
10+ runtask = " 3.0.1 "
1111
12- miniplaceholders = " 3.0.1 "
12+ miniplaceholders = " 3.1.0 "
1313spark = " 0.1-SNAPSHOT"
1414
1515[libraries ]
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public final class SparkExpansionProvider implements ExpansionProvider {
1212 public Expansion provideExpansion () {
1313 final Spark spark = SparkProvider .get ();
1414 return Expansion .builder ("spark" )
15- .version ("2.0.0 " )
15+ .version ("2.0.1 " )
1616 .author ("MiniPlaceholders Contributors" )
1717 .globalPlaceholder ("tps" , new TPSPlaceholder (spark ))
1818 .globalPlaceholder ("tickduration" , new MSPTPlaceholder (spark ))
@@ -23,6 +23,9 @@ public Expansion provideExpansion() {
2323
2424 @ Override
2525 public LoadRequirement loadRequirement () {
26- return LoadRequirement .requiredComplement ("spark" );
26+ return LoadRequirement .anyOf (
27+ LoadRequirement .requiredComplement ("spark" ),
28+ LoadRequirement .requiredClass ("me.lucko.spark.api.SparkProvider" )
29+ );
2730 }
2831}
You can’t perform that action at this time.
0 commit comments