[Bleeding] Send short version string on ping. Addresses BUKKIT-5206

With the update in 1.7 that improved the server ping, it was made to
include a long version string for CraftBukkit. This value is too long
for proper display so we now send a shortened string consisting of
the server implementation and the minecraft version.
This commit is contained in:
t00thpick1
2013-12-19 15:25:22 -05:00
committed by feildmaster
parent dfcff7eabf
commit 624603cd41
2 changed files with 2 additions and 2 deletions

View File

@@ -899,7 +899,7 @@ public abstract class MinecraftServer implements ICommandListener, Runnable, IMo
}
public String getServerModName() {
return "craftbukkit"; // CraftBukkit - cb > vanilla!
return server.getName(); // CraftBukkit - cb > vanilla!
}
public CrashReport b(CrashReport crashreport) {