mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-09 08:24:10 -08:00
Merge pull request #217 from sba1/nano-time-fix
Fix ms to ns conversion.
This commit is contained in:
commit
ab3d8607d9
|
@ -106,7 +106,7 @@ public final class TSystem extends TObject {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static long nanoTime() {
|
public static long nanoTime() {
|
||||||
return currentTimeMillis() * 10000000;
|
return currentTimeMillis() * 1000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static int identityHashCode(Object x) {
|
public static int identityHashCode(Object x) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user