mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 00:07:56 +01:00
12 lines
647 B
Diff
12 lines
647 B
Diff
--- a/net/minecraft/world/entity/Display.java
|
|
+++ b/net/minecraft/world/entity/Display.java
|
|
@@ -903,7 +903,7 @@
|
|
b = loadFlag(b, nbt, "default_background", (byte)4);
|
|
Optional<Display.TextDisplay.Align> optional = Display.TextDisplay.Align.CODEC
|
|
.decode(NbtOps.INSTANCE, nbt.get("alignment"))
|
|
- .resultOrPartial(Util.prefix("Display entity", Display.LOGGER::error))
|
|
+ .result() // Paper - Hide text display error on spawn
|
|
.map(Pair::getFirst);
|
|
if (optional.isPresent()) {
|
|
b = switch ((Display.TextDisplay.Align)optional.get()) {
|