Skip to content

Commit 887d50c

Browse files
Update to 1.19
1 parent 120f9ad commit 887d50c

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.eclipsekingdom</groupId>
88
<artifactId>FractalForest</artifactId>
9-
<version>1.13</version>
9+
<version>1.14</version>
1010
<packaging>jar</packaging>
1111

1212
<name>FractalForest</name>
@@ -69,7 +69,7 @@
6969
</repository>
7070
<repository>
7171
<id>coreprotect-repo</id>
72-
<url>http://maven.playpro.com/</url>
72+
<url>https://maven.playpro.com/</url>
7373
</repository>
7474
<repository>
7575
<id>jitpack.io</id>
@@ -85,19 +85,19 @@
8585
<dependency>
8686
<groupId>org.spigotmc</groupId>
8787
<artifactId>spigot-api</artifactId>
88-
<version>1.18-R0.1-SNAPSHOT</version>
88+
<version>1.19-R0.1-SNAPSHOT</version>
8989
<scope>provided</scope>
9090
</dependency>
9191
<dependency>
9292
<groupId>com.sk89q.worldguard</groupId>
9393
<artifactId>worldguard-bukkit</artifactId>
94-
<version>7.0.6</version>
94+
<version>7.0.7</version>
9595
<scope>provided</scope>
9696
</dependency>
9797
<dependency>
9898
<groupId>net.coreprotect</groupId>
9999
<artifactId>coreprotect</artifactId>
100-
<version>20.1</version>
100+
<version>21.2</version>
101101
<scope>provided</scope>
102102
</dependency>
103103
<dependency>

src/main/java/com/eclipsekingdom/fractalforest/FractalForest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ public final class FractalForest extends JavaPlugin {
2626
public void onEnable() {
2727
plugin = this;
2828

29+
System.out.println(Version.current.value);
30+
2931
ConfigLoader.load();
3032
new PluginConfig();
3133
PluginBase pluginBase = new PluginBase();

src/main/java/com/eclipsekingdom/fractalforest/sys/Version.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import org.bukkit.Bukkit;
44

55
public enum Version {
6+
V1_19(119),
67
V1_18(118),
78
V1_17(117),
89
V1_16(116),
@@ -28,7 +29,9 @@ public enum Version {
2829

2930
private static Version getVersion() {
3031
String versionString = Bukkit.getVersion();
31-
if (versionString.contains("1.18")) {
32+
if (versionString.contains("1.19")) {
33+
return V1_19;
34+
} else if (versionString.contains("1.18")) {
3235
return V1_18;
3336
} else if (versionString.contains("1.17")) {
3437
return V1_17;

src/main/resources/plugin.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: FractalForest
2-
version: 1.12
2+
version: 1.14
33
main: com.eclipsekingdom.fractalforest.FractalForest
4-
api-version: 1.17
4+
api-version: 1.19
55
authors: [sword7]
6-
maintainer: Diamondback88
6+
maintainer: Diamondback88, UnknownSilicon
77
description: A spigot plugin that adds procedurally generated trees to Minecraft
88
website: eclipsekingdom.com
99
softdepend: [PlayerPlot, WorldGuard, RedProtect, Towny, CoreProtect, GriefPrevention, Residence, Civs, LandsAPI]

0 commit comments

Comments
 (0)