geforkt von Mirrors/Paper
[CI-SKIP] Remove bad null annotation (#5538)
Dieser Commit ist enthalten in:
Ursprung
99eeb79087
Commit
98eb2c8d94
@ -2397,8 +2397,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
}
|
||||
|
||||
+
|
||||
+ @Nullable public UUID getUUID(String prefix) { return a(prefix); } // Paper - OBFHELPER
|
||||
+ @Nullable
|
||||
+ /**
|
||||
+ * You must use {@link #hasUUID(String)} before or else it <b>will</b> throw an NPE.
|
||||
+ */
|
||||
+ public UUID getUUID(String prefix) { return a(prefix); } // Paper - OBFHELPER
|
||||
public UUID a(String s) {
|
||||
return GameProfileSerializer.a(this.get(s));
|
||||
}
|
||||
|
@ -41,8 +41,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
}
|
||||
|
||||
@@ -0,0 +0,0 @@ public class NBTTagCompound implements NBTBase {
|
||||
@Nullable public UUID getUUID(String prefix) { return a(prefix); } // Paper - OBFHELPER
|
||||
@Nullable
|
||||
*/
|
||||
public UUID getUUID(String prefix) { return a(prefix); } // Paper - OBFHELPER
|
||||
public UUID a(String s) {
|
||||
+ // Paper start - support old format
|
||||
+ if (!hasKeyOfType(s, 11) && this.hasKeyOfType(s + "Most", 99) && this.hasKeyOfType(s + "Least", 99)) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren