From e4d9af7f860f76c9d873e7539ad4a0c145d0d477 Mon Sep 17 00:00:00 2001 From: William Date: Thu, 23 Mar 2023 00:43:21 +0000 Subject: [PATCH] Fix tpa locale --- .../william278/huskhomes/command/TeleportRequestCommand.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/src/main/java/net/william278/huskhomes/command/TeleportRequestCommand.java b/common/src/main/java/net/william278/huskhomes/command/TeleportRequestCommand.java index 9535f41a..f5bff690 100644 --- a/common/src/main/java/net/william278/huskhomes/command/TeleportRequestCommand.java +++ b/common/src/main/java/net/william278/huskhomes/command/TeleportRequestCommand.java @@ -50,7 +50,8 @@ public class TeleportRequestCommand extends InGameCommand implements UserListTab } plugin.getLocales() - .getLocale(requestType == TeleportRequest.Type.TPA ? "tpa" : "tpahere" + "_request_sent", target) + .getLocale((requestType == TeleportRequest.Type.TPA ? "tpa" : "tpahere") + + "_request_sent", target) .ifPresent(onlineUser::sendMessage); }