mirror of
https://hub.spigotmc.org/stash/scm/spigot/spigot.git
synced 2024-11-21 22:06:13 +00:00
24 lines
929 B
Diff
24 lines
929 B
Diff
From a0e9a58af2af70fd1494a0953d9d5dad0bed73c0 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
|
|
index f79019f774..a591f58043 100644
|
|
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
|
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
|
@@ -1683,7 +1683,7 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
|
|
|
@DontObfuscate
|
|
public String getServerModName() {
|
|
- return server.getName(); // CraftBukkit - cb > vanilla!
|
|
+ return "Spigot"; // Spigot - Spigot > // CraftBukkit - cb > vanilla!
|
|
}
|
|
|
|
public SystemReport fillSystemReport(SystemReport systemreport) {
|
|
--
|
|
2.47.0
|
|
|