diff options
author | Keuin <[email protected]> | 2020-04-23 00:16:13 +0800 |
---|---|---|
committer | keuin <[email protected]> | 2020-04-23 00:20:29 +0800 |
commit | 28ebd3ae91dc6087a9f9acd93f80dd92be2d64aa (patch) | |
tree | 9a051d4784cd41953a5c6aa02e55005e14d907bf /src/main/java/com/keuin/kbackupfabric/KBPluginInitializer.java | |
parent | d00b439204b7ddfe381f1ff7c0dc1f02e16da8de (diff) |
Finish backup.
TODO:
- restore
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/KBPluginInitializer.java')
-rw-r--r-- | src/main/java/com/keuin/kbackupfabric/KBPluginInitializer.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/KBPluginInitializer.java b/src/main/java/com/keuin/kbackupfabric/KBPluginInitializer.java new file mode 100644 index 0000000..684ec07 --- /dev/null +++ b/src/main/java/com/keuin/kbackupfabric/KBPluginInitializer.java @@ -0,0 +1,12 @@ +package com.keuin.kbackupfabric; + +import net.fabricmc.api.ModInitializer; +import net.fabricmc.fabric.api.registry.CommandRegistry; + +public class KBPluginInitializer implements ModInitializer { + @Override + public void onInitialize() { + System.out.println("Initializing KBackup..."); + CommandRegistry.INSTANCE.register(false, KBCommandRegister::register); + } +} |