Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 13:00:06 +01:00
24 Zeilen
891 B
Diff
24 Zeilen
891 B
Diff
From 6f6b223300fb88e340b47798a34d3c9ba75307ea 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 36fdaf7..bbe16d8 100644
|
|
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
|
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
|
@@ -1041,7 +1041,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
|
|
|