Changes based on review feedback.

This commit is contained in:
WSSIA
2016-10-03 21:05:11 +01:00
parent 69cab15d75
commit 12544caa75
4 changed files with 60 additions and 8 deletions

View File

@@ -75,7 +75,7 @@ public class Event implements IEvent, Runnable {
long endTime = currentTime + (eventTime * 1000);
while (System.currentTimeMillis() < endTime) {
try {
Thread.sleep(5000); // Sleep for 5 seconds.
Thread.sleep(1000); // Sleep for 1 second.
} catch (InterruptedException e) {
return;
}