mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-06 11:24:39 +08:00
Add {4} to homeSet TL key, this contains the name of the home being set.
This commit is contained in:
parent
ad2f446602
commit
23d2ffb134
@ -57,7 +57,7 @@ public class Commandsethome extends EssentialsCommand
|
|||||||
throw new NoSuchFieldException(_("invalidHomeName"));
|
throw new NoSuchFieldException(_("invalidHomeName"));
|
||||||
}
|
}
|
||||||
usersHome.setHome(name, location);
|
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));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user