Fix Battle text output when drinking a potion

This commit is contained in:
Stephen Seo 2022-06-14 14:14:22 +09:00
parent cb4fda06e3
commit 3624b56727

View file

@ -343,7 +343,7 @@ public class ClientProxy extends CommonProxy {
parentComponent.getSiblings().add(new TextComponent(" drank a ")); parentComponent.getSiblings().add(new TextComponent(" drank a "));
parentComponent.getSiblings().add(new TextComponent(pkt.getCustom())); parentComponent.getSiblings().add(new TextComponent(pkt.getCustom()));
parentComponent.getSiblings().add(new TextComponent("!")); parentComponent.getSiblings().add(new TextComponent("!"));
TurnBasedMinecraftMod.proxy.displayString(from + " drank a " + pkt.getCustom() + "!"); TurnBasedMinecraftMod.proxy.displayComponent(parentComponent);
break; break;
} }
break; break;