1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-13 18:14:38 +02:00

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 203c58f41c
commit a6aa8c1c86

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));
}