Add power net to profiling data.
This commit is contained in:
parent
2ec7340383
commit
b8949ee8fa
3 changed files with 11 additions and 2 deletions
|
@ -40,7 +40,7 @@ public class TRTickHandler {
|
|||
}
|
||||
|
||||
long start = System.nanoTime();
|
||||
MinecraftForge.EVENT_BUS.post(new PowerTickEvent());
|
||||
MinecraftForge.EVENT_BUS.post(new PowerTickEvent(e.world));
|
||||
long elapsed = System.nanoTime() - start;
|
||||
tickTime += elapsed;
|
||||
ticksCounted++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue