mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-22 00:58:50 +01:00
Fix format parsing in /home (Fixes #5653)
This commit is contained in:
parent
544f69aec8
commit
3d9d3a3254
@ -3,6 +3,7 @@ package com.earth2me.essentials.commands;
|
||||
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 class Commandhome extends EssentialsCommand {
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user