summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/KBCommandsRegister.java
diff options
context:
space:
mode:
authorKeuin <[email protected]>2023-01-17 01:30:46 +0800
committerKeuin <[email protected]>2023-01-17 01:30:46 +0800
commit822a5c5f53122763bf63e0baff79c435b1a60dbc (patch)
tree85a0f73b8f651a94ee12d0647f496b70b3d8872d /src/main/java/com/keuin/kbackupfabric/KBCommandsRegister.java
parent068e34023d28ce03bf7a9f59ac3e23e73a183db2 (diff)
Remove deprecated usage and useless code.
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/KBCommandsRegister.java')
-rw-r--r--src/main/java/com/keuin/kbackupfabric/KBCommandsRegister.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/KBCommandsRegister.java b/src/main/java/com/keuin/kbackupfabric/KBCommandsRegister.java
index 154a39f..5bf92e4 100644
--- a/src/main/java/com/keuin/kbackupfabric/KBCommandsRegister.java
+++ b/src/main/java/com/keuin/kbackupfabric/KBCommandsRegister.java
@@ -13,7 +13,7 @@ public final class KBCommandsRegister {
public static final int DEFAULT_REQUIRED_LEVEL = 2;
// First make method to register
- public static void registerCommands(CommandDispatcher<ServerCommandSource> dispatcher) {
+ public static void registerCommands(CommandDispatcher<ServerCommandSource> dispatcher, boolean dedicated) {
// register /kb and /kb help for help menu
dispatcher.register(CommandManager.literal("kb")