From c5feae65125dd0a244febcd45d8e715c1adc4496 Mon Sep 17 00:00:00 2001 From: itqop Date: Mon, 21 Oct 2024 13:46:33 +0300 Subject: [PATCH] Rename class command --- src/main/java/org/itqop/chatit/ChatIT.java | 4 ++-- .../commands/{ChatitCommand.java => ChatITCommand.java} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/main/java/org/itqop/chatit/commands/{ChatitCommand.java => ChatITCommand.java} (98%) diff --git a/src/main/java/org/itqop/chatit/ChatIT.java b/src/main/java/org/itqop/chatit/ChatIT.java index 9b86472..0475764 100644 --- a/src/main/java/org/itqop/chatit/ChatIT.java +++ b/src/main/java/org/itqop/chatit/ChatIT.java @@ -7,7 +7,7 @@ import net.minecraftforge.event.server.ServerStartingEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.config.ModConfig; -import org.itqop.chatit.commands.ChatitCommand; +import org.itqop.chatit.commands.ChatITCommand; import org.itqop.chatit.handlers.ChatEventHandler; import org.itqop.chatit.utils.Config; import org.itqop.chatit.utils.PlayerConfigManager; @@ -22,7 +22,7 @@ public class ChatIT { public ChatIT() { MinecraftForge.EVENT_BUS.register(this); MinecraftForge.EVENT_BUS.register(ChatEventHandler.class); - MinecraftForge.EVENT_BUS.register(ChatitCommand.class); + MinecraftForge.EVENT_BUS.register(ChatITCommand.class); ModLoadingContext.get().registerConfig(ModConfig.Type.COMMON, Config.COMMON_CONFIG); } diff --git a/src/main/java/org/itqop/chatit/commands/ChatitCommand.java b/src/main/java/org/itqop/chatit/commands/ChatITCommand.java similarity index 98% rename from src/main/java/org/itqop/chatit/commands/ChatitCommand.java rename to src/main/java/org/itqop/chatit/commands/ChatITCommand.java index 4f65585..a1bb821 100644 --- a/src/main/java/org/itqop/chatit/commands/ChatitCommand.java +++ b/src/main/java/org/itqop/chatit/commands/ChatITCommand.java @@ -11,7 +11,7 @@ import net.minecraftforge.fml.common.Mod; import org.itqop.chatit.utils.PlayerConfigManager; @Mod.EventBusSubscriber -public class ChatitCommand { +public class ChatITCommand { @SubscribeEvent public static void onRegisterCommands(RegisterCommandsEvent event) {