public class TimerHack
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
ENABLED
Set this to false (Before using the NoteBlockLib API) to disable the timer hack (Useful if you have your own way of enabling high resolution timers)
|
| Constructor and Description |
|---|
TimerHack() |
| Modifier and Type | Method and Description |
|---|---|
static void |
ensureRunning()
Starts a thread which indefinitely sleeps to force the JVM to enable high resolution timers on Windows.
|