Skip to content

Commit

Permalink
Update FractalForest to 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownSilicon committed Jun 13, 2023
1 parent 887d50c commit 15a9b50
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.eclipsekingdom</groupId>
<artifactId>FractalForest</artifactId>
<version>1.14</version>
<version>1.15</version>
<packaging>jar</packaging>

<name>FractalForest</name>
Expand Down Expand Up @@ -85,19 +85,19 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.19-R0.1-SNAPSHOT</version>
<version>1.20-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.sk89q.worldguard</groupId>
<artifactId>worldguard-bukkit</artifactId>
<version>7.0.7</version>
<version>7.0.8</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.coreprotect</groupId>
<artifactId>coreprotect</artifactId>
<version>21.2</version>
<version>21.3</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import org.bukkit.Bukkit;

public enum Version {
V1_20(120),
V1_19(119),
V1_18(118),
V1_17(117),
Expand All @@ -29,7 +30,9 @@ public enum Version {

private static Version getVersion() {
String versionString = Bukkit.getVersion();
if (versionString.contains("1.19")) {
if (versionString.contains("1.20")) {
return V1_20;
} else if (versionString.contains("1.19")) {
return V1_19;
} else if (versionString.contains("1.18")) {
return V1_18;
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: FractalForest
version: 1.14
version: 1.15
main: com.eclipsekingdom.fractalforest.FractalForest
api-version: 1.19
api-version: 1.20
authors: [sword7]
maintainer: Diamondback88, UnknownSilicon
description: A spigot plugin that adds procedurally generated trees to Minecraft
Expand Down

0 comments on commit 15a9b50

Please sign in to comment.