Removed the old tick handler profiler and structure.

Tick handlers are now sent as Events and redirected to the right Swing tab.
This commit is contained in:
ProfMobius committed 2014-05-11 16:49:34 +02:00
1 parent a774131e36
commit d8e699fd2a
21 files changed
+57 -312

No files matched your search

+2 -5
View File
@@ -17,7 +17,6 @@ import mcp.mobius.opis.commands.server.CommandChunkDump;
import mcp.mobius.opis.commands.server.CommandChunkList;
import mcp.mobius.opis.commands.server.CommandEntityCreate;
import mcp.mobius.opis.commands.server.CommandFrequency;
import mcp.mobius.opis.commands.server.CommandHandler;
import mcp.mobius.opis.commands.server.CommandHelp;
import mcp.mobius.opis.commands.server.CommandKill;
import mcp.mobius.opis.commands.server.CommandKillAll;
@@ -34,7 +33,6 @@ import mcp.mobius.opis.data.profilers.ProfilerDimBlockTick;
import mcp.mobius.opis.data.profilers.ProfilerDimTick;
import mcp.mobius.opis.data.profilers.ProfilerEntityUpdate;
import mcp.mobius.opis.data.profilers.ProfilerEvent;
import mcp.mobius.opis.data.profilers.ProfilerHandler;
import mcp.mobius.opis.data.profilers.ProfilerNetworkTick;
import mcp.mobius.opis.data.profilers.ProfilerPacket;
import mcp.mobius.opis.data.profilers.ProfilerRenderBlock;
@@ -153,8 +151,8 @@ public class modOpis {
ProfilerSection.RENDER_TILEENTITY .setProfiler(new ProfilerRenderTileEntity());
ProfilerSection.RENDER_ENTITY .setProfiler(new ProfilerRenderEntity());
ProfilerSection.RENDER_BLOCK .setProfiler(new ProfilerRenderBlock());
ProfilerSection.HANDLER_TICKSTART .setProfiler(new ProfilerHandler());
ProfilerSection.HANDLER_TICKSTOP .setProfiler(new ProfilerHandler());
//ProfilerSection.HANDLER_TICKSTART .setProfiler(new ProfilerHandler());
//ProfilerSection.HANDLER_TICKSTOP .setProfiler(new ProfilerHandler());
ProfilerSection.EVENT_INVOKE .setProfiler(new ProfilerEvent());
}
@@ -186,7 +184,6 @@ public class modOpis {
event.registerServerCommand(new CommandKill());
event.registerServerCommand(new CommandKillAll());
event.registerServerCommand(new CommandReset());
event.registerServerCommand(new CommandHandler());
event.registerServerCommand(new CommandEntityCreate());
event.registerServerCommand(new CommandOpis());
event.registerServerCommand(new CommandAddPrivileged());