summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/KBPluginInitializer.java
diff options
context:
space:
mode:
authorKeuin <[email protected]>2020-04-23 20:13:35 +0800
committerkeuin <[email protected]>2020-04-23 20:13:35 +0800
commitba19ab350516e26a8e52cc217878bde63c0b7eee (patch)
tree482a4ad4b4b8c4d630833f93863195f56ef34244 /src/main/java/com/keuin/kbackupfabric/KBPluginInitializer.java
parentffd446e4decbe487b8e56b6726be0ecc81f8428d (diff)
Refactored code.
Added startup message on the first start after restoring a backup. Adjusted text color.
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/KBPluginInitializer.java')
-rw-r--r--src/main/java/com/keuin/kbackupfabric/KBPluginInitializer.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/KBPluginInitializer.java b/src/main/java/com/keuin/kbackupfabric/KBPluginInitializer.java
deleted file mode 100644
index c3582c7..0000000
--- a/src/main/java/com/keuin/kbackupfabric/KBPluginInitializer.java
+++ /dev/null
@@ -1,12 +0,0 @@
-package com.keuin.kbackupfabric;
-
-import net.fabricmc.api.ModInitializer;
-import net.fabricmc.fabric.api.registry.CommandRegistry;
-
-public final class KBPluginInitializer implements ModInitializer {
- @Override
- public void onInitialize() {
- System.out.println("Initializing KBackup...");
- CommandRegistry.INSTANCE.register(false, KBCommandRegister::register);
- }
-}