From c2a84d8bbe1a36c15750d75b54f6ff430a4fbcbb Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Sun, 5 May 2024 12:49:49 -0500 Subject: [PATCH] Update 0004-Fixes-log-spam.patch --- patches/server/0004-Fixes-log-spam.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/patches/server/0004-Fixes-log-spam.patch b/patches/server/0004-Fixes-log-spam.patch index 68c5bec..b832448 100644 --- a/patches/server/0004-Fixes-log-spam.patch +++ b/patches/server/0004-Fixes-log-spam.patch @@ -4,6 +4,19 @@ Date: Sun, 5 May 2024 12:31:13 -0500 Subject: [PATCH] Fixes log spam +diff --git a/src/main/java/net/minecraft/network/chat/HoverEvent.java b/src/main/java/net/minecraft/network/chat/HoverEvent.java +index d8de9ec38f5e5b10c177895728815d8659d0b601..d141a39f98f58c5d61e25cab89e742845ca8185b 100644 +--- a/src/main/java/net/minecraft/network/chat/HoverEvent.java ++++ b/src/main/java/net/minecraft/network/chat/HoverEvent.java +@@ -271,7 +271,7 @@ public class HoverEvent { + DynamicOps dynamicOps = (DynamicOps)(ops != null ? ops.withParent(NbtOps.INSTANCE) : NbtOps.INSTANCE); + return ItemStack.CODEC.parse(dynamicOps, compoundTag).map(HoverEvent.ItemStackInfo::new); + } catch (CommandSyntaxException var4) { +- return DataResult.error(() -> "Failed to parse item tag: " + var4.getMessage()); ++ return null; + } + } + } diff --git a/src/main/java/net/minecraft/world/entity/AreaEffectCloud.java b/src/main/java/net/minecraft/world/entity/AreaEffectCloud.java index ee972fa1a2bc023ed18eaceae21c8c8244754e6a..4f92d9c5850156c2349371d801a96a477f1af96c 100644 --- a/src/main/java/net/minecraft/world/entity/AreaEffectCloud.java