mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 19:52:55 +01:00
8bbab87c6b
3e3ea0bd0d8 320ed92779f 612de468951
23 lines
891 B
Diff
23 lines
891 B
Diff
From d9fe305bd03e60a8fa9719a3ce784d660363fb42 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 d213ae4..8521259 100644
|
|
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
|
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
|
@@ -1038,7 +1038,7 @@ public abstract class MinecraftServer implements ICommandListener, Runnable, IAs
|
|
}
|
|
|
|
public String getServerModName() {
|
|
- return server.getName(); // CraftBukkit - cb > vanilla!
|
|
+ return "Spigot"; // Spigot - Spigot > // CraftBukkit - cb > vanilla!
|
|
}
|
|
|
|
public CrashReport b(CrashReport crashreport) {
|
|
--
|
|
2.1.0
|
|
|