Improvae coord command with Context.

This commit is contained in:
benwoo1110 2020-12-26 17:51:59 +08:00
parent 2dedffa353
commit 8304e7a4ef

View File

@ -120,7 +120,8 @@ public class MVCommandContexts extends PaperCommandContexts {
MultiverseWorld targetWorld = this.worldManager.getMVWorld(player.getWorld());
if (targetWorld == null) {
player.sendMessage("Multiverse doesn't know about " + ChatColor.DARK_AQUA + player.getWorld().getName() + ChatColor.WHITE + " yet.");
player.sendMessage(ChatColor.RED + "Multiverse doesn't know about world '" + ChatColor.DARK_AQUA + player.getWorld().getName()
+ ChatColor.RED + "' that player " + ChatColor.AQUA + player.getName() + ChatColor.RED + "is in.");
player.sendMessage("Type " + ChatColor.DARK_AQUA + "/mv import ?" + ChatColor.WHITE + " for help!");
throw new InvalidCommandArgument();
}