From 16a666c20e62b2150a7f8c9f4b388585086040bc Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Wed, 30 Mar 2011 14:55:42 +0100 Subject: [PATCH] Made Server a singleton By: Dinnerbone --- .../src/main/java/org/bukkit/craftbukkit/CraftServer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 2b7f5e9ee2..1c6c7b9682 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -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()); }