Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void update() {
- if (count > 3) count = 0;
- for (Location l : signs) {
- Block b = l.getBlock();
- if (!b.getType().toString().contains("SIGN")) {
- System.out.println("returned");
- return;
- }
- Sign sign = (Sign) b.getState();
- sign.setLine(0, ChatColor.DARK_RED + "################");
- sign.setLine(1, ChatColor.RED + "Offline" + count);
- sign.setLine(3, ChatColor.DARK_RED + "################");
- }
- count++;
- }
Advertisement
Add Comment
Please, Sign In to add comment