Seconds are 1000 milliseconds long. Not 1 millisecond long.
This commit is contained in:
parent
7098d613a0
commit
4f8d71e289
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ public class FMLBukkitProfiler {
|
||||||
{
|
{
|
||||||
lastInstance = new FMLBukkitProfiler();
|
lastInstance = new FMLBukkitProfiler();
|
||||||
FMLBukkitHandler.instance().profiler = lastInstance;
|
FMLBukkitHandler.instance().profiler = lastInstance;
|
||||||
endTime = now + seconds;
|
endTime = now + seconds * 1000;
|
||||||
}
|
}
|
||||||
if (endTime > now)
|
if (endTime > now)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue