Seconds are 1000 milliseconds long. Not 1 millisecond long.

This commit is contained in:
Christian 2012-06-28 08:27:21 -04:00
parent 7098d613a0
commit 4f8d71e289

View file

@ -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)
{ {