Update for MC 1.18

This commit is contained in:
GeorgH93 2021-11-30 18:41:22 +01:00
parent 757c31f9b2
commit 1f1c482c5d
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@
<dependency> <dependency>
<groupId>at.pcgamingfreaks</groupId> <groupId>at.pcgamingfreaks</groupId>
<artifactId>PluginLib</artifactId> <artifactId>PluginLib</artifactId>
<version>1.0.33-SNAPSHOT</version> <version>1.0.34-SNAPSHOT</version>
</dependency> </dependency>
<!-- BadRabbit --> <!-- BadRabbit -->
<dependency> <dependency>

View File

@ -116,7 +116,7 @@ public void onEnable()
private boolean checkMcVersion() private boolean checkMcVersion()
{ {
if(MCVersion.is(MCVersion.UNKNOWN) || !MCVersion.isUUIDsSupportAvailable() || MCVersion.isNewerThan(MCVersion.MC_NMS_1_17_R1)) if(MCVersion.is(MCVersion.UNKNOWN) || !MCVersion.isUUIDsSupportAvailable() || MCVersion.isNewerThan(MCVersion.MC_NMS_1_18_R1))
{ {
this.warnOnVersionIncompatibility(); this.warnOnVersionIncompatibility();
this.setEnabled(false); this.setEnabled(false);