From 272ad91f788f730d3e79a9d2b91cb5f276a92961 Mon Sep 17 00:00:00 2001 From: Luck Date: Sun, 2 Sep 2018 16:19:14 +0100 Subject: Add support for velocity --- .../src/main/java/me/lucko/spark/common/CommandHandler.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spark-common') diff --git a/spark-common/src/main/java/me/lucko/spark/common/CommandHandler.java b/spark-common/src/main/java/me/lucko/spark/common/CommandHandler.java index 005b44b..91428ea 100644 --- a/spark-common/src/main/java/me/lucko/spark/common/CommandHandler.java +++ b/spark-common/src/main/java/me/lucko/spark/common/CommandHandler.java @@ -173,7 +173,7 @@ public abstract class CommandHandler { try { tickCounter = newTickCounter(); } catch (UnsupportedOperationException e) { - sendPrefixedMessage(sender, "&cTick counting is not supported on BungeeCord!"); + sendPrefixedMessage(sender, "&cTick counting is not supported!"); return; } } @@ -307,7 +307,7 @@ public abstract class CommandHandler { TickCounter tickCounter = newTickCounter(); this.activeTickMonitor = new ReportingTickMonitor(tickCounter, threshold); } catch (UnsupportedOperationException e) { - sendPrefixedMessage(sender, "&cNot supported on BungeeCord!"); + sendPrefixedMessage(sender, "&cNot supported!"); } } else { this.activeTickMonitor.close(); @@ -317,7 +317,7 @@ public abstract class CommandHandler { } private class ReportingTickMonitor extends TickMonitor { - public ReportingTickMonitor(TickCounter tickCounter, int percentageChangeThreshold) { + ReportingTickMonitor(TickCounter tickCounter, int percentageChangeThreshold) { super(tickCounter, percentageChangeThreshold); } -- cgit