From 28ebd3ae91dc6087a9f9acd93f80dd92be2d64aa Mon Sep 17 00:00:00 2001 From: Keuin Date: Thu, 23 Apr 2020 00:16:13 +0800 Subject: Finish backup. TODO: - restore --- .../java/com/keuin/kbackupfabric/KBPluginInitializer.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/main/java/com/keuin/kbackupfabric/KBPluginInitializer.java (limited to 'src/main/java/com/keuin/kbackupfabric/KBPluginInitializer.java') 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); + } +} -- cgit v1.2.3