diff options
author | Luck <git@lucko.me> | 2018-09-02 16:19:14 +0100 |
---|---|---|
committer | Luck <git@lucko.me> | 2018-09-02 16:19:14 +0100 |
commit | 272ad91f788f730d3e79a9d2b91cb5f276a92961 (patch) | |
tree | a2d4b598747a5671bb7a4ce9f01901ded359530c /spark-common | |
parent | fa2a1e5661ef40323a36283fbf913b6a1258950b (diff) | |
download | spark-272ad91f788f730d3e79a9d2b91cb5f276a92961.tar.gz spark-272ad91f788f730d3e79a9d2b91cb5f276a92961.tar.bz2 spark-272ad91f788f730d3e79a9d2b91cb5f276a92961.zip |
Add support for velocity
Diffstat (limited to 'spark-common')
-rw-r--r-- | spark-common/src/main/java/me/lucko/spark/common/CommandHandler.java | 6 |
1 files changed, 3 insertions, 3 deletions
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<T> { 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<T> { 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<T> { } private class ReportingTickMonitor extends TickMonitor { - public ReportingTickMonitor(TickCounter tickCounter, int percentageChangeThreshold) { + ReportingTickMonitor(TickCounter tickCounter, int percentageChangeThreshold) { super(tickCounter, percentageChangeThreshold); } |