mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-04 14:38:53 +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();
|
final Position destination = result.getDestination().get();
|
||||||
result.getTeleporter()
|
result.getTeleporter()
|
||||||
.flatMap(teleporter -> plugin.getLocales()
|
.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.x),
|
||||||
Integer.toString((int) destination.y),
|
Integer.toString((int) destination.y),
|
||||||
Integer.toString((int) destination.z)))
|
Integer.toString((int) destination.z)))
|
||||||
|
|||||||
Reference in new issue
Block a user