Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 04:20:04 +01:00
Update upstream CB
Dieser Commit ist enthalten in:
Ursprung
fc982f3580
Commit
76cede4391
@ -1,4 +1,4 @@
|
||||
From 40a8654adb652f624440c582b5a53550744a159a Mon Sep 17 00:00:00 2001
|
||||
From 36615410da1b671be25fc315029b9fd9c5734efe Mon Sep 17 00:00:00 2001
|
||||
From: Zach Brown <zach.brown@destroystokyo.com>
|
||||
Date: Tue, 1 Mar 2016 14:32:43 -0600
|
||||
Subject: [PATCH] Show 'Paper' in client crashes, server lists, and Mojang
|
||||
@ -20,7 +20,7 @@ index 8361888c2..3623751bf 100644
|
||||
EULA.a.warn("Failed to save {}", this.b, exception);
|
||||
} finally {
|
||||
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
index 3629cbc47..476d1a23e 100644
|
||||
index 43b4e552b..024218a1d 100644
|
||||
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||
@@ -1046,7 +1046,7 @@ public abstract class MinecraftServer implements ICommandListener, Runnable, IAs
|
||||
@ -46,15 +46,15 @@ index 5c05ae407..bfc42b12f 100644
|
||||
private final String bukkitVersion = Versioning.getBukkitVersion();
|
||||
private final Logger logger = Logger.getLogger("Minecraft");
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||
index 30b6f3477..22cb680df 100644
|
||||
index 174763f23..35123d58b 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||
@@ -189,10 +189,10 @@ public class Main {
|
||||
Date buildDate = new SimpleDateFormat("yyyyMMdd-HHmm").parse(Main.class.getPackage().getImplementationVendor());
|
||||
|
||||
Calendar deadline = Calendar.getInstance();
|
||||
- deadline.add(Calendar.DAY_OF_YEAR, -3);
|
||||
+ deadline.add(Calendar.DAY_OF_YEAR, -14); // Paper - Bump back to 14, this is pre-release anyway
|
||||
- deadline.add(Calendar.DAY_OF_YEAR, -7);
|
||||
+ deadline.add(Calendar.DAY_OF_YEAR, -14); // Paper - Bump back to 14
|
||||
if (buildDate.before(deadline.getTime())) {
|
||||
System.err.println("*** Error, this build is outdated ***");
|
||||
- System.err.println("*** Please download a new build as per instructions from https://www.spigotmc.org/ ***");
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit f7d14f184d386cb5b0dd604dd1fdcd683fe9e065
|
||||
Subproject commit 6aa0fa32069330765546643a199dfd3a3c77284c
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren