mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 22:17:17 +00:00
Fix wrong locale being used for teleporting others to coordinates
This commit is contained in:
1 parent
4854f0df01
commit
8aa0529cc8
1 file changed
+1
-1
@@ -98,7 +98,7 @@ public class TpCommand extends CommandBase implements TabCompletable, ConsoleExe
|
||||
final Position destination = result.getDestination().get();
|
||||
result.getTeleporter()
|
||||
.flatMap(teleporter -> plugin.getLocales()
|
||||
.getLocale("teleporting_other_complete", teleporter.username,
|
||||
.getLocale("teleporting_other_complete_position", teleporter.username,
|
||||
Integer.toString((int) destination.x),
|
||||
Integer.toString((int) destination.y),
|
||||
Integer.toString((int) destination.z)))
|
||||
|
||||
Reference in new issue
Block a user