Skip to content

Commit f9dad35

Browse files
committed
fix ambiguous <init> in AmbientParticle
1 parent bc15fa9 commit f9dad35

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ allprojects {
1313
apply(plugin = "com.gradleup.shadow")
1414

1515
group = "me.outspending.biomesapi"
16-
version = "0.0.11"
16+
version = "0.0.12"
1717

1818
tasks.withType<JavaCompile> {
1919
options.encoding = "UTF-8"

main/src/main/java/me/outspending/biomesapi/renderer/AmbientParticle.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,12 @@ public enum AmbientParticle {
108108
this.particle = particle;
109109
}
110110

111-
<T extends ParticleOptions> AmbientParticle(ParticleType<@NotNull T> particle) {
111+
/**
112+
* Constructor for the AmbientParticle enum.
113+
* @param particle the ParticleType associated with the ambient particle.
114+
*/
115+
@AsOf("0.0.12")
116+
AmbientParticle(ParticleType<?> particle) {
112117
this.particle = particle;
113118
}
114119

0 commit comments

Comments
 (0)