mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
@@ -23,3 +23,13 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
return GameProfileSerializer.a(this.get(s));
|
||||
}
|
||||
|
||||
public final boolean hasUUID(String s) { return this.b(s); } // Paper - OBFHELPER
|
||||
public boolean b(String s) {
|
||||
+ // Paper start - support old format
|
||||
+ if (hasKey(s + "Least") && hasKey(s + "Most")) {
|
||||
+ return true;
|
||||
+ }
|
||||
+ // Paper end
|
||||
NBTBase nbtbase = this.get(s);
|
||||
|
||||
return nbtbase != null && nbtbase.b() == NBTTagIntArray.a && ((NBTTagIntArray) nbtbase).getInts().length == 4;
|
||||
|
Reference in New Issue
Block a user