From 8aa0529cc89a315a7412a9e5b5fdde40f7296b22 Mon Sep 17 00:00:00 2001 From: William Date: Wed, 26 Oct 2022 21:16:45 +0100 Subject: [PATCH] Fix wrong locale being used for teleporting others to coordinates --- .../main/java/net/william278/huskhomes/command/TpCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/net/william278/huskhomes/command/TpCommand.java b/common/src/main/java/net/william278/huskhomes/command/TpCommand.java index 8c2d6135..01d6a4f5 100644 --- a/common/src/main/java/net/william278/huskhomes/command/TpCommand.java +++ b/common/src/main/java/net/william278/huskhomes/command/TpCommand.java @@ -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)))