package info.u_team.u_team_core.intern.init;

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

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

@@ -145,16 +145,71 @@
 ommand;%0A
+import net.minecraftforge.event.RegisterCommandsEvent;%0A
 import n
@@ -251,24 +251,24 @@
 cribeEvent;%0A
-
 import net.m
@@ -384,75 +384,8 @@
 Bus;
-%0Aimport net.minecraftforge.fml.event.server.FMLServerStartingEvent;
 %0A%0A@E
@@ -519,25 +519,24 @@
  on(
-FMLServerStarting
+RegisterCommands
 Even
@@ -578,23 +578,16 @@
 vent.get
-Command
 Dispatch

Fix command registry