Misc. 1.19 fixes (#7881)

This commit is contained in:
Noah van der Aa
2022-06-08 10:45:59 +02:00
parent 5f8843665b
commit 535fb2d726
9 changed files with 14 additions and 30 deletions

View File

@@ -54,8 +54,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
string = nbt.getString("Name");
}
+ // Paper start - support string UUID's
+ if (compound.contains("Id", 8)) {
+ uUID = UUID.fromString(compound.getString("Id"));
+ if (nbt.contains("Id", 8)) {
+ uUID = UUID.fromString(nbt.getString("Id"));
+ }
+ // Paper end