mrkirby153

Untitled

Mar 15th, 2014
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. public void update() {
  2. if (count > 3) count = 0;
  3. for (Location l : signs) {
  4. Block b = l.getBlock();
  5. if (!b.getType().toString().contains("SIGN")) {
  6. System.out.println("returned");
  7. return;
  8. }
  9. Sign sign = (Sign) b.getState();
  10. sign.setLine(0, ChatColor.DARK_RED + "################");
  11. sign.setLine(1, ChatColor.RED + "Offline" + count);
  12. sign.setLine(3, ChatColor.DARK_RED + "################");
  13. }
  14. count++;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment