Made Server a singleton

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
CraftBukkit/Spigot 2011-03-30 14:55:42 +01:00
parent ba7e83927e
commit 16a666c20e

View file

@ -50,6 +50,8 @@ public final class CraftServer implements Server {
this.server = server;
this.serverVersion = CraftServer.class.getPackage().getImplementationVersion();
Bukkit.setServer(this);
Logger.getLogger("Minecraft").log(Level.INFO, "This server is running " + getName() + " version " + getVersion());
}