Created
August 14, 2012 15:31
-
-
Save tehbeard/3350296 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private static Novaember main; | |
| public static Novaember getMain() { return main; } | |
| public EventListener(Novaember main) { | |
| this.main = main; | |
| } | |
| @EventHandler(priority = EventPriority.MONITOR) | |
| public void playerLogin(PlayerLoginEvent event) { | |
| Final PlayerLoginEvent rEvent = event; | |
| main.getServer().getScheduler().scheduleAsyncDelayedTask(main, new Runnable() { | |
| public final void run() { | |
| try { | |
| PlayerLoginEvent event = rEvent; | |
| Novaember main = EventListener.getMain(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment