geforkt von Mirrors/Paper
Fix icon in timings
Dieser Commit ist enthalten in:
Ursprung
62d13109b7
Commit
f496b60138
@ -2025,7 +2025,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
this.value = value;
|
||||
}
|
||||
+
|
||||
+ public String getData() { return "data:image/png;base64," + new String(java.util.Base64.getEncoder().encode(value), java.nio.charset.StandardCharsets.UTF_8); } // Paper
|
||||
+ public String getData() {
|
||||
+ if (value == null) {
|
||||
+ return null;
|
||||
+ }
|
||||
+ return "data:image/png;base64," + new String(java.util.Base64.getEncoder().encode(value), java.nio.charset.StandardCharsets.UTF_8);
|
||||
+ } // Paper
|
||||
}
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren