From c499672aef834f3304c94c0bc08783b5c6412070 Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Fri, 11 Apr 2014 11:17:52 +0100 Subject: [PATCH] Display 'Spigot' in client crashes, server lists and Mojang stats --- ...n-client-crashes-server-lists-and-Mo.patch | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 CraftBukkit-Patches/0130-Display-Spigot-in-client-crashes-server-lists-and-Mo.patch diff --git a/CraftBukkit-Patches/0130-Display-Spigot-in-client-crashes-server-lists-and-Mo.patch b/CraftBukkit-Patches/0130-Display-Spigot-in-client-crashes-server-lists-and-Mo.patch new file mode 100644 index 0000000000..852c40bb56 --- /dev/null +++ b/CraftBukkit-Patches/0130-Display-Spigot-in-client-crashes-server-lists-and-Mo.patch @@ -0,0 +1,23 @@ +From ed6e47fa12d55ee06fcb40251756390f3e8fb6c3 Mon Sep 17 00:00:00 2001 +From: Thinkofdeath +Date: Fri, 11 Apr 2014 11:16:34 +0100 +Subject: [PATCH] Display 'Spigot' in client crashes, server lists and Mojang + stats + + +diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java +index 96b904c..b314181 100644 +--- a/src/main/java/net/minecraft/server/MinecraftServer.java ++++ b/src/main/java/net/minecraft/server/MinecraftServer.java +@@ -957,7 +957,7 @@ public abstract class MinecraftServer implements ICommandListener, Runnable, IMo + } + + public String getServerModName() { +- return server.getName(); // CraftBukkit - cb > vanilla! ++ return "Spigot"; // Spigot - Spigot > // CraftBukkit - cb > vanilla! + } + + public CrashReport b(CrashReport crashreport) { +-- +1.8.5.2.msysgit.0 +