summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java
diff options
context:
space:
mode:
authorKeuin <[email protected]>2020-04-23 15:11:05 +0800
committerkeuin <[email protected]>2020-04-23 15:11:05 +0800
commit597cc299f02ae4b9577d9cccc5653570fedca639 (patch)
tree1e78065fb5f7de498294eaecaf28a5fed34b929b /src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java
parent720e8ec8eeb69d24afbb6b14068563cde2d470f0 (diff)
Optimize code redundancy.
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java')
-rw-r--r--src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java b/src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java
index e76155f..8c8a687 100644
--- a/src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java
+++ b/src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java
@@ -17,8 +17,8 @@ public final class PrintUtil {
private static final Object syncInfo = new Object();
private static final Object syncMessage = new Object();
- public static CommandContext<ServerCommandSource> message(CommandContext<ServerCommandSource> context, String messageText) {
- return message(context, messageText, false);
+ public static void message(CommandContext<ServerCommandSource> context, String messageText) {
+ message(context, messageText, false);
}
public static CommandContext<ServerCommandSource> message(CommandContext<ServerCommandSource> context, String messageText, boolean broadcastToOps) {