Registered the commands.

This commit is contained in:
ProfMobius committed 2013-11-07 04:00:59 +01:00
1 parent 55b1e34a8b
commit 0e5dae88b4
1 file changed
+5
+5
View File
@@ -5,6 +5,8 @@ import java.util.logging.Logger;
import mcp.mobius.mobiuscore.profiler.ProfilerRegistrar;
import mcp.mobius.opis.commands.CommandChunkDump;
import mcp.mobius.opis.commands.CommandFrequency;
import mcp.mobius.opis.commands.CommandStart;
import mcp.mobius.opis.commands.CommandStop;
import mcp.mobius.opis.data.TileEntityProfiler;
import mcp.mobius.opis.network.OpisConnectionHandler;
import mcp.mobius.opis.network.OpisPacketHandler;
@@ -58,6 +60,9 @@ public class modOpis {
public void serverStarting(FMLServerStartingEvent event){
event.registerServerCommand(new CommandChunkDump());
event.registerServerCommand(new CommandFrequency());
event.registerServerCommand(new CommandStart());
event.registerServerCommand(new CommandStop());
GameRegistry.registerPlayerTracker(new OpisPlayerTracker());
ProfilerRegistrar.registerTileEntityProfiler(new TileEntityProfiler());
}