mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
Fix MSPT command
Used wrong variable for tick length
This commit is contained in:
parent
0fc6c032fb
commit
c0a178dc45
@ -145,9 +145,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
this.tickTimesNanos[l] = k;
|
||||
this.smoothedTickTimeMillis = this.smoothedTickTimeMillis * 0.8F + (float) k / (float) TimeUtil.NANOSECONDS_PER_MILLISECOND * 0.19999999F;
|
||||
+ // Paper start - Add tick times API and /mspt command
|
||||
+ this.tickTimes5s.add(this.tickCount, j);
|
||||
+ this.tickTimes10s.add(this.tickCount, j);
|
||||
+ this.tickTimes60s.add(this.tickCount, j);
|
||||
+ this.tickTimes5s.add(this.tickCount, k);
|
||||
+ this.tickTimes10s.add(this.tickCount, k);
|
||||
+ this.tickTimes60s.add(this.tickCount, k);
|
||||
+ // Paper end - Add tick times API and /mspt command
|
||||
this.logTickMethodTime(i);
|
||||
gameprofilerfiller.pop();
|
||||
|
Loading…
Reference in New Issue
Block a user