aboutsummaryrefslogtreecommitdiff
path: root/spark-common/src/main/java/me/lucko/spark/common/command
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2023-08-28 16:21:03 +0100
committerLuck <git@lucko.me>2023-08-28 16:21:03 +0100
commitfac7ec97a848835dacc860a596269be12ae86956 (patch)
tree0594925d3cd657b9154538ae3329e698bd1bd734 /spark-common/src/main/java/me/lucko/spark/common/command
parent3c0c141189a0af706dfab9d052a2fd47d1906b39 (diff)
downloadspark-fac7ec97a848835dacc860a596269be12ae86956.tar.gz
spark-fac7ec97a848835dacc860a596269be12ae86956.tar.bz2
spark-fac7ec97a848835dacc860a596269be12ae86956.zip
Use a different websocket library
Diffstat (limited to 'spark-common/src/main/java/me/lucko/spark/common/command')
-rw-r--r--spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java b/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java
index 27e790f..ad0557d 100644
--- a/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java
+++ b/spark-common/src/main/java/me/lucko/spark/common/command/modules/SamplerModule.java
@@ -21,7 +21,6 @@
package me.lucko.spark.common.command.modules;
import com.google.common.collect.Iterables;
-
import me.lucko.bytesocks.client.BytesocksClient;
import me.lucko.spark.common.SparkPlatform;
import me.lucko.spark.common.activitylog.Activity;
@@ -46,7 +45,6 @@ import me.lucko.spark.common.util.MediaTypes;
import me.lucko.spark.common.util.MethodDisambiguator;
import me.lucko.spark.common.ws.ViewerSocket;
import me.lucko.spark.proto.SparkSamplerProtos;
-
import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.event.ClickEvent;
@@ -339,7 +337,7 @@ public class SamplerModule implements CommandModule {
private void profilerOpen(SparkPlatform platform, CommandSender sender, CommandResponseHandler resp, Arguments arguments) {
BytesocksClient bytesocksClient = platform.getBytesocksClient();
if (bytesocksClient == null) {
- resp.replyPrefixed(text("The live viewer is only supported on Java 11 or newer.", RED));
+ resp.replyPrefixed(text("The live viewer is not supported.", RED));
return;
}