Skip to content

Commit 10a8904

Browse files
committed
Bukkit only supports <= 1.12.2 as well. Fix pom.xml parent conflictions with wrong version number.
1 parent a6b4073 commit 10a8904

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

blcmodapibukkit/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>badlionclientmodapi</artifactId>
77
<groupId>net.badlion</groupId>
8-
<version>1.0-SNAPSHOT</version>
8+
<version>1.0.1-SNAPSHOT</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

blcmodapibukkit/src/main/java/net/badlion/blcmodapibukkit/BlcModApiBukkit.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ public class BlcModApiBukkit extends JavaPlugin {
2323

2424
@Override
2525
public void onEnable() {
26+
// Only support <= 1.12.2 at the moment, we will add 1.13 support when BLC 1.13 is ready
27+
if (this.getServer().getBukkitVersion().startsWith("1.13")) {
28+
this.getLogger().log(Level.SEVERE, "BLC Mod API is not currently compatible with 1.13 Minecraft. Check back later for updates.");
29+
this.getPluginLoader().disablePlugin(this);
30+
return;
31+
}
32+
2633
if (!this.getDataFolder().exists()) {
2734
if (!this.getDataFolder().mkdir()) {
2835
this.getLogger().log(Level.SEVERE, "Failed to create plugin directory.");

blcmodapibungee/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>badlionclientmodapi</artifactId>
77
<groupId>net.badlion</groupId>
8-
<version>1.0-SNAPSHOT</version>
8+
<version>1.0.1-SNAPSHOT</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

0 commit comments

Comments
 (0)