You called event.stop(), which STOPS the event. Just remove that.
|
I have this piece of code in login.java
But, the problem is is that it only says blablabla once. I want it to loop. So it would say that every minute. How would I do that?Code:EventManager.getSingleton().addEvent(new Event() { @Override public void execute(EventContainer event) { blablabla event.stop(); } }, 60000);
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |