aboutsummaryrefslogtreecommitdiff
path: root/spark-common/src/main/java
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2018-09-02 16:19:14 +0100
committerLuck <git@lucko.me>2018-09-02 16:19:14 +0100
commit272ad91f788f730d3e79a9d2b91cb5f276a92961 (patch)
treea2d4b598747a5671bb7a4ce9f01901ded359530c /spark-common/src/main/java
parentfa2a1e5661ef40323a36283fbf913b6a1258950b (diff)
downloadspark-272ad91f788f730d3e79a9d2b91cb5f276a92961.tar.gz
spark-272ad91f788f730d3e79a9d2b91cb5f276a92961.tar.bz2
spark-272ad91f788f730d3e79a9d2b91cb5f276a92961.zip
Add support for velocity
Diffstat (limited to 'spark-common/src/main/java')
-rw-r--r--spark-common/src/main/java/me/lucko/spark/common/CommandHandler.java6
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);
}