Skip to content

Commit

Permalink
[6.1.0][dev] Merge pull request #402 from hooll/master
Browse files Browse the repository at this point in the history
XSkull 版本判断修改
  • Loading branch information
Bkm016 authored Jan 29, 2024
2 parents e7e7f20 + f5d496a commit 5383657
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public class XSkull {
/**
* In v1.20.2 there were some changes to the mojang API.
*/
private static final boolean NULLABILITY_RECORD_UPDATE = ReflectionUtils.VERSION.equals("v1_20_R2") || ReflectionUtils.supports(20);
private static final boolean NULLABILITY_RECORD_UPDATE = !ReflectionUtils.VERSION.equals("v1_20_R1") && ReflectionUtils.supports(20);

/**
* Does using a random UUID have any advantage?
Expand Down

0 comments on commit 5383657

Please sign in to comment.