Advertisement
kman2010

Untitled

May 18th, 2011
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.38 KB | None | 0 0
  1. package me.GoldEnchantTeam.GoldEnchant;
  2.  
  3. import org.bukkit.Bukkit;
  4. import org.bukkit.plugin.Plugin;
  5. public class GoldEnchantTimer {{
  6.  
  7. Bukkit.getServer().getScheduler().scheduleAsyncDelayedTask((Plugin) this, new Runnable() {
  8.  
  9.     public void run() {
  10.         Bukkit.getServer().broadcastMessage("This message is broadcast by the main thread");
  11.     }
  12.  
  13. {
  14.     }
  15. }, 60L);
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement