mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-28 07:55:49 +00:00
Some clean up on starting up, shutting down and resetting the profiler.
This commit is contained in:
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");
|
||||
|
||||
Reference in new issue
Block a user