Check if the used minecraft version supports uuids

This is a new requirement for v2.2
This commit is contained in:
GeorgH93 2020-02-07 01:12:56 +01:00
parent 6724f48ccd
commit c40c6ee812
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8

View File

@ -114,7 +114,7 @@ public void onEnable()
//region Check compatibility with used minecraft version
if(MCVersion.is(MCVersion.UNKNOWN) || MCVersion.isNewerThan(MCVersion.MC_NMS_1_15_R1))
if(MCVersion.is(MCVersion.UNKNOWN) || !MCVersion.isUUIDsSupportAvailable() || MCVersion.isNewerThan(MCVersion.MC_NMS_1_15_R1))
{
this.warnOnVersionIncompatibility();
this.setEnabled(false);