Rename class command

This commit is contained in:
itqop 2024-10-21 13:46:33 +03:00
parent 2ccaa6927c
commit c5feae6512
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

@ -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) {