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>
<groupId>at.pcgamingfreaks</groupId>
<artifactId>PluginLib</artifactId>
<version>1.0.33-SNAPSHOT</version>
<version>1.0.34-SNAPSHOT</version>
</dependency>
<!-- BadRabbit -->
<dependency>

View File

@ -116,7 +116,7 @@ public class Minepacks extends JavaPlugin implements MinepacksPlugin
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.setEnabled(false);