Rename class command
This commit is contained in:
parent
2ccaa6927c
commit
c5feae6512
|
@ -7,7 +7,7 @@ import net.minecraftforge.event.server.ServerStartingEvent;
|
||||||
import net.minecraftforge.eventbus.api.SubscribeEvent;
|
import net.minecraftforge.eventbus.api.SubscribeEvent;
|
||||||
import net.minecraftforge.fml.common.Mod;
|
import net.minecraftforge.fml.common.Mod;
|
||||||
import net.minecraftforge.fml.config.ModConfig;
|
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.handlers.ChatEventHandler;
|
||||||
import org.itqop.chatit.utils.Config;
|
import org.itqop.chatit.utils.Config;
|
||||||
import org.itqop.chatit.utils.PlayerConfigManager;
|
import org.itqop.chatit.utils.PlayerConfigManager;
|
||||||
|
@ -22,7 +22,7 @@ public class ChatIT {
|
||||||
public ChatIT() {
|
public ChatIT() {
|
||||||
MinecraftForge.EVENT_BUS.register(this);
|
MinecraftForge.EVENT_BUS.register(this);
|
||||||
MinecraftForge.EVENT_BUS.register(ChatEventHandler.class);
|
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);
|
ModLoadingContext.get().registerConfig(ModConfig.Type.COMMON, Config.COMMON_CONFIG);
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@ import net.minecraftforge.fml.common.Mod;
|
||||||
import org.itqop.chatit.utils.PlayerConfigManager;
|
import org.itqop.chatit.utils.PlayerConfigManager;
|
||||||
|
|
||||||
@Mod.EventBusSubscriber
|
@Mod.EventBusSubscriber
|
||||||
public class ChatitCommand {
|
public class ChatITCommand {
|
||||||
|
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
public static void onRegisterCommands(RegisterCommandsEvent event) {
|
public static void onRegisterCommands(RegisterCommandsEvent event) {
|
Loading…
Reference in New Issue