Fix tpa locale

This commit is contained in:
William committed 2023-03-23 00:43:21 +00:00
1 parent 167d5d6c7a
commit e4d9af7f86
1 file changed
+2 -1
@@ -50,7 +50,8 @@ public class TeleportRequestCommand extends InGameCommand implements UserListTab
} }
plugin.getLocales() 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); .ifPresent(onlineUser::sendMessage);
} }