Skip to content

Commit

Permalink
Merge pull request #27 from BONNePlayground/develop
Browse files Browse the repository at this point in the history
Add Minecraft 1.20.4 compatibility.
  • Loading branch information
BONNe authored Dec 20, 2023
2 parents a19646e + ac85071 commit 5884a71
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
12 changes: 9 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
<java.version>17</java.version>
<powermock.version>1.7.4</powermock.version>
<!-- More visible way how to change dependency versions -->
<spigot.version>1.20.2-R0.1-SNAPSHOT</spigot.version>
<spigot.version>1.20.4-R0.1-SNAPSHOT</spigot.version>
<bentobox.version>1.23.0</bentobox.version>
<level.version>2.5.0</level.version>
<!-- Revision variable removes warning about dynamic version -->
<revision>${build.version}-SNAPSHOT</revision>
<!-- This allows to change between versions and snapshots. -->
<build.version>1.8.0</build.version>
<build.version>1.8.1</build.version>
<build.number>-LOCAL</build.number>
</properties>

Expand Down Expand Up @@ -170,7 +170,7 @@
<dependency>
<groupId>io.github.iltotore</groupId>
<artifactId>customentity</artifactId>
<version>1.7.0</version>
<version>1.7.1</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -203,6 +203,12 @@
<version>1.7.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>lv.id.bonne</groupId>
<artifactId>dragonfights-v1_20_r3</artifactId>
<version>1.7.0</version>
<scope>compile</scope>
</dependency>
</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public Collection<BiomeSpawn> getSpawns(ServerVersion version)
this.setVersion(ServerVersion.v1_19_3, lv.id.bonne.dragonfights.v1_19_R3.entity.BentoBoxEnderDragonType::new);
this.setVersion(ServerVersion.v1_20, lv.id.bonne.dragonfights.v1_20_R1.entity.BentoBoxEnderDragonType::new);
this.setVersion(ServerVersion.v1_20_2, lv.id.bonne.dragonfights.v1_20_R2.entity.BentoBoxEnderDragonType::new);
this.setVersion(ServerVersion.v1_20_3, lv.id.bonne.dragonfights.v1_20_R3.entity.BentoBoxEnderDragonType::new);
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@ public static NMSHandler getAPI()
versions.put(ServerVersion.v1_19_3, lv.id.bonne.dragonfights.v1_19_R3.NMSHandler::new);
versions.put(ServerVersion.v1_20, lv.id.bonne.dragonfights.v1_20_R1.NMSHandler::new);
versions.put(ServerVersion.v1_20_2, lv.id.bonne.dragonfights.v1_20_R2.NMSHandler::new);
versions.put(ServerVersion.v1_20_3, lv.id.bonne.dragonfights.v1_20_R3.NMSHandler::new);
}
}

0 comments on commit 5884a71

Please sign in to comment.