Some clean up on starting up, shutting down and resetting the profiler.

This commit is contained in:
ProfMobius committed 2013-12-23 14:04:19 +01:00
1 parent 1a55456fb3
commit 34a90eec12
7 files changed
+32 -38

No files matched your search

@@ -35,9 +35,7 @@ public class OpisClientTickHandler implements ITickHandler {
else if (profilerRunningTicks >= modOpis.profilerMaxTicks && modOpis.profilerRun){
profilerRunningTicks = 0;
modOpis.profilerRun = false;
ProfilerRegistrar.registerProfilerTileEntity(new DummyProfiler());
ProfilerRegistrar.registerProfilerEntity(new DummyProfiler());
ProfilerRegistrar.registerProfilerTick(new DummyProfiler());
ProfilerRegistrar.turnOff();
//TODO : Print something to the client chat
System.out.printf("Profiling done\n");