Add {4} to homeSet TL key, this contains the name of the home being set.

This commit is contained in:
KHobbits 2013-12-21 23:30:12 +00:00
parent ad2f446602
commit 23d2ffb134

View File

@ -57,7 +57,7 @@ public class Commandsethome extends EssentialsCommand
throw new NoSuchFieldException(_("invalidHomeName"));
}
usersHome.setHome(name, location);
user.sendMessage(_("homeSet", user.getLocation().getWorld().getName(), user.getLocation().getBlockX(), user.getLocation().getBlockY(), user.getLocation().getBlockZ()));
user.sendMessage(_("homeSet", user.getLocation().getWorld().getName(), user.getLocation().getBlockX(), user.getLocation().getBlockY(), user.getLocation().getBlockZ(), name));
}