mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-21 14:39:01 +01:00
Show 'PaperSpigot' in client crashes, server lists, and Mojang Stats
This commit is contained in:
parent
186879e0fb
commit
5342c92587
1 changed files with 23 additions and 0 deletions
|
@ -0,0 +1,23 @@
|
||||||
|
From 5f45ba374861f6f602851e837532c86ce8b018f0 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Zach Brown <Zbob750@live.com>
|
||||||
|
Date: Tue, 19 Aug 2014 14:21:37 -0500
|
||||||
|
Subject: [PATCH] Show 'PaperSpigot' 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 b905c6e..ef695c2 100644
|
||||||
|
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
|
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
|
@@ -987,7 +987,7 @@ public abstract class MinecraftServer implements ICommandListener, Runnable, IMo
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getServerModName() {
|
||||||
|
- return "Spigot"; // Spigot - Spigot > // CraftBukkit - cb > vanilla!
|
||||||
|
+ return "PaperSpigot"; // PaperSpigot - PaperSpigot > // Spigot - Spigot > // CraftBukkit - cb > vanilla!
|
||||||
|
}
|
||||||
|
|
||||||
|
public CrashReport b(CrashReport crashreport) {
|
||||||
|
--
|
||||||
|
1.9.1
|
||||||
|
|
Loading…
Add table
Reference in a new issue