From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Thu, 16 Mar 2023 16:27:50 +0100 Subject: [PATCH] Fix text display error on spawn diff --git a/src/main/java/net/minecraft/world/entity/Display.java b/src/main/java/net/minecraft/world/entity/Display.java index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 --- a/src/main/java/net/minecraft/world/entity/Display.java +++ b/src/main/java/net/minecraft/world/entity/Display.java @@ -0,0 +0,0 @@ public abstract class Display extends Entity { Logger logger = Display.LOGGER; Objects.requireNonNull(logger); - Optional optional = dataresult.resultOrPartial(Util.prefix("Display entity", logger::error)).map(Pair::getFirst); + Optional optional = dataresult.result().map(Pair::getFirst); // Paper - hide error message if (optional.isPresent()) { byte b1;