13
0
geforkt von Mirrors/Paper
Paper/CraftBukkit-Patches/0096-Display-Spigot-in-client-crashes-server-lists-and-Mo.patch

24 Zeilen
891 B
Diff

2015-05-25 14:05:40 +02:00
From ffe56e4a984cbf1a3b75e77c7d11aadee79e4e8e Mon Sep 17 00:00:00 2001
From: Thinkofdeath <thethinkofdeath@gmail.com>
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
2015-05-25 14:05:40 +02:00
index b61af44..9af5a07 100644
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
2015-05-09 22:23:26 +02:00
@@ -1017,7 +1017,7 @@ public abstract class MinecraftServer implements Runnable, ICommandListener, IAs
}
public String getServerModName() {
- return server.getName(); // CraftBukkit - cb > vanilla!
+ return "Spigot"; // Spigot - Spigot > // CraftBukkit - cb > vanilla!
}
public CrashReport b(CrashReport crashreport) {
--
2015-05-09 22:23:26 +02:00
2.1.4