Changed startup message (shows webserver-info, hides debug)

This commit is contained in:
FrozenCow 2011-01-25 22:59:22 +01:00
parent 98f03c588e
commit 4de18ac700
2 changed files with 1 additions and 2 deletions

View File

@ -37,7 +37,7 @@ public class WebServer extends Thread {
sock = new ServerSocket(port, 5, bindAddress.equals("0.0.0.0") ? null : InetAddress.getByName(bindAddress));
running = true;
start();
debugger.debug("WebServer started on " + bindAddress + ":" + port);
log.info("Dynmap WebServer started on " + bindAddress + ":" + port);
}
public void run()

View File

@ -37,7 +37,6 @@ public class BukkitPlayerDebugger implements Debugger {
public synchronized void enable() {
plugin.getServer().getPluginManager().registerEvent(Event.Type.PLAYER_COMMAND, new CommandListener(), Priority.Normal, plugin);
plugin.getServer().getPluginManager().registerEvent(Event.Type.PLAYER_QUIT, new CommandListener(), Priority.Normal, plugin);
log.info("Debugger enabled, use: " + debugCommand);
}
public synchronized void disable() {