From 3d9d3a325432b1a49895e4330a6141e254b61801 Mon Sep 17 00:00:00 2001 From: Josh Roy <10731363+JRoy@users.noreply.github.com> Date: Fri, 9 Feb 2024 22:40:40 -0500 Subject: [PATCH] Fix format parsing in /home (Fixes #5653) --- .../java/com/earth2me/essentials/commands/Commandhome.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Essentials/src/main/java/com/earth2me/essentials/commands/Commandhome.java b/Essentials/src/main/java/com/earth2me/essentials/commands/Commandhome.java index 11535f4f55f..a8017dcbf8a 100644 --- a/Essentials/src/main/java/com/earth2me/essentials/commands/Commandhome.java +++ b/Essentials/src/main/java/com/earth2me/essentials/commands/Commandhome.java @@ -3,6 +3,7 @@ import com.earth2me.essentials.OfflinePlayerStub; import com.earth2me.essentials.Trade; import com.earth2me.essentials.User; +import com.earth2me.essentials.utils.AdventureUtil; import com.earth2me.essentials.utils.StringUtil; import io.papermc.lib.PaperLib; import net.ess3.api.TranslatableException; @@ -97,7 +98,7 @@ public void run(final Server server, final User user, final String commandLabel, homes.add(user.playerTl("bedNull")); } } - user.sendTl("homes", StringUtil.joinList(homes), count, getHomeLimit(finalPlayer)); + user.sendTl("homes", AdventureUtil.parsed(StringUtil.joinList(homes)), count, getHomeLimit(finalPlayer)); } }); if (!player.getBase().isOnline() || player.getBase() instanceof OfflinePlayerStub) {