13
0
geforkt von Mirrors/Paper

Remove outdated build delay.

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2021-07-06 22:16:50 +10:00
Ursprung 0c2fdaf521
Commit 0392f45e9c
2 geänderte Dateien mit 8 neuen und 6 gelöschten Zeilen

Datei anzeigen

@ -702,7 +702,7 @@
public void sendMessage(IChatBaseComponent ichatbasecomponent, ChatMessageType chatmessagetype, UUID uuid) {
this.server.sendMessage(ichatbasecomponent, uuid);
Iterator iterator = this.players.iterator();
@@ -838,16 +1142,23 @@
@@ -838,24 +1142,32 @@
}
@ -727,10 +727,12 @@
if (!file1.exists()) {
- File file2 = new File(file, entityhuman.getDisplayName().getString() + ".json");
+ File file2 = new File(file, displayName + ".json"); // CraftBukkit
+ java.nio.file.Path path = file2.toPath();
if (file2.exists() && file2.isFile()) {
- if (file2.exists() && file2.isFile()) {
+ if (net.minecraft.FileUtils.a(path) && net.minecraft.FileUtils.b(path) && path.startsWith(file.getPath()) && file2.isFile()) {
file2.renameTo(file1);
@@ -855,7 +1166,7 @@
}
}
serverstatisticmanager = new ServerStatisticManager(this.server, file1);
@ -739,7 +741,7 @@
}
return serverstatisticmanager;
@@ -863,14 +1174,14 @@
@@ -863,14 +1175,14 @@
public AdvancementDataPlayer f(EntityPlayer entityplayer) {
UUID uuid = entityplayer.getUniqueID();
@ -756,7 +758,7 @@
}
advancementdataplayer.a(entityplayer);
@@ -906,13 +1217,20 @@
@@ -906,13 +1218,20 @@
}
public void reload() {

Datei anzeigen

@ -181,7 +181,7 @@ public class Main {
useConsole = false;
}
if (Main.class.getPackage().getImplementationVendor() != null && System.getProperty("IReallyKnowWhatIAmDoingISwear") == null) {
if (false && Main.class.getPackage().getImplementationVendor() != null && System.getProperty("IReallyKnowWhatIAmDoingISwear") == null) {
Date buildDate = new Date(Integer.parseInt(Main.class.getPackage().getImplementationVendor()) * 1000L);
Calendar deadline = Calendar.getInstance();