package net.glowstone.scoreboard;

import java.io.IOException;
import net.glowstone.GlowServer;
import org.bukkit.scoreboard.ScoreboardManager;

/**
 * ScoreboardManager implementation.
 */
public final class GlowScoreboardManager implements ScoreboardManager {

    private final GlowServer server;
    private GlowScoreboard mainScoreboard;

    public GlowScoreboardManager(GlowServer server) {
        this.server = server;
    }

    public GlowScoreboard getMainScoreboard() {
        if (mainScoreboard == null) {
            GlowScoreboard newScoreboard;
            try {
                newScoreboard = server.getScoreboardIoService().readMainScoreboard();
            } catch (IOException e) {
                newScoreboard = new GlowScoreboard();
            }
            mainScoreboard = newScoreboard;
        }
        return mainScoreboard;

    }

    public GlowScoreboard getNewScoreboard() {
        return new GlowScoreboard();
    }
}

@@ -420,32 +420,46 @@
  server;%0A    %7D%0A%0A
+    @Override%0A
     public GlowS
@@ -869,24 +869,38 @@
 rd;%0A%0A    %7D%0A%0A
+    @Override%0A
     public G

Fix CheckStyle issues in scoreboard/GlowScoreboardManager.java (#773)