package info.u_team.u_team_core.intern.init;

import info.u_team.u_team_core.UCoreMod;
import info.u_team.u_team_core.intern.command.UTeamCoreCommand;
import net.minecraftforge.event.RegisterCommandsEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus;

@EventBusSubscriber(modid = UCoreMod.MODID, bus = Bus.FORGE)
public class UCoreCommands {
	
	@SubscribeEvent
	public static void on(RegisterCommandsEvent event) {
		new UTeamCoreCommand(event.getDispatcher());
	}
	
}

@@ -43,49 +43,8 @@
 t;%0A%0A
-import info.u_team.u_team_core.UCoreMod;%0A
 impo
@@ -201,364 +201,280 @@
 api.
-SubscribeEvent;%0Aimport net.minecraftforge.fml.common.Mod.EventBusSubscriber;%0Aimport net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus;%0A%0A@EventBusSubscriber(modid = UCoreMod.MODID, bus = Bus.FORGE)%0Apublic class UCoreCommands %7B%0A%09%0A%09@SubscribeEvent%0A%09public static void on(RegisterCommandsEvent event) %7B%0A%09%09new UTeamCoreCommand(event.getDispatcher());%0A%09%7D%0A%09
+IEventBus;%0A%0Apublic class UCoreCommands %7B%0A%09%0A%09private static void onRegisterCommands(RegisterCommandsEvent event) %7B%0A%09%09new UTeamCoreCommand(event.getDispatcher());%0A%09%7D%0A%09%0A%09public static void registerForge(IEventBus bus) %7B%0A%09%09bus.addListener(UCoreCommands::onRegisterCommands);%0A%09%7D
 %0A%7D%0A

Remove the annotations from u core commands and migrate to the new system