mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-22 07:08:47 +01:00
6360da3884
Simply a fix to the small performance shortpath.
23 lines
891 B
Diff
23 lines
891 B
Diff
From 993f29b10ba5812bf849113ddbbe89798ae57700 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 c55dcae..304c577 100644
|
|
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
|
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
|
@@ -1014,7 +1014,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) {
|
|
--
|
|
2.1.4
|
|
|