mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-17 19:15:09 +00:00
Registered the commands.
This commit is contained in:
1 parent
55b1e34a8b
commit
0e5dae88b4
1 file changed
+5
@@ -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());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user