From 5342c9258702cee1401d19044bfdfa0a60d02234 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Tue, 19 Aug 2014 14:26:33 -0500 Subject: [PATCH] Show 'PaperSpigot' in client crashes, server lists, and Mojang Stats --- ...-in-client-crashes-server-lists-and-.patch | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Spigot-Server-Patches/0033-Show-PaperSpigot-in-client-crashes-server-lists-and-.patch diff --git a/Spigot-Server-Patches/0033-Show-PaperSpigot-in-client-crashes-server-lists-and-.patch b/Spigot-Server-Patches/0033-Show-PaperSpigot-in-client-crashes-server-lists-and-.patch new file mode 100644 index 000000000..8fdf3a1d9 --- /dev/null +++ b/Spigot-Server-Patches/0033-Show-PaperSpigot-in-client-crashes-server-lists-and-.patch @@ -0,0 +1,23 @@ +From 5f45ba374861f6f602851e837532c86ce8b018f0 Mon Sep 17 00:00:00 2001 +From: Zach Brown +Date: Tue, 19 Aug 2014 14:21:37 -0500 +Subject: [PATCH] Show 'PaperSpigot' 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 b905c6e..ef695c2 100644 +--- a/src/main/java/net/minecraft/server/MinecraftServer.java ++++ b/src/main/java/net/minecraft/server/MinecraftServer.java +@@ -987,7 +987,7 @@ public abstract class MinecraftServer implements ICommandListener, Runnable, IMo + } + + public String getServerModName() { +- return "Spigot"; // Spigot - Spigot > // CraftBukkit - cb > vanilla! ++ return "PaperSpigot"; // PaperSpigot - PaperSpigot > // Spigot - Spigot > // CraftBukkit - cb > vanilla! + } + + public CrashReport b(CrashReport crashreport) { +-- +1.9.1 +