From 3624b567272ce5b1b351b16a831a1519c6cb2401 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Tue, 14 Jun 2022 14:14:22 +0900 Subject: [PATCH] Fix Battle text output when drinking a potion --- .../com/burnedkirby/TurnBasedMinecraft/client/ClientProxy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/burnedkirby/TurnBasedMinecraft/client/ClientProxy.java b/src/main/java/com/burnedkirby/TurnBasedMinecraft/client/ClientProxy.java index d480579..efb8060 100644 --- a/src/main/java/com/burnedkirby/TurnBasedMinecraft/client/ClientProxy.java +++ b/src/main/java/com/burnedkirby/TurnBasedMinecraft/client/ClientProxy.java @@ -343,7 +343,7 @@ public class ClientProxy extends CommonProxy { parentComponent.getSiblings().add(new TextComponent(" drank a ")); parentComponent.getSiblings().add(new TextComponent(pkt.getCustom())); parentComponent.getSiblings().add(new TextComponent("!")); - TurnBasedMinecraftMod.proxy.displayString(from + " drank a " + pkt.getCustom() + "!"); + TurnBasedMinecraftMod.proxy.displayComponent(parentComponent); break; } break;