geforkt von Mirrors/Paper
Remove outdated build delay.
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
0c2fdaf521
Commit
0392f45e9c
@ -702,7 +702,7 @@
|
|||||||
public void sendMessage(IChatBaseComponent ichatbasecomponent, ChatMessageType chatmessagetype, UUID uuid) {
|
public void sendMessage(IChatBaseComponent ichatbasecomponent, ChatMessageType chatmessagetype, UUID uuid) {
|
||||||
this.server.sendMessage(ichatbasecomponent, uuid);
|
this.server.sendMessage(ichatbasecomponent, uuid);
|
||||||
Iterator iterator = this.players.iterator();
|
Iterator iterator = this.players.iterator();
|
||||||
@@ -838,16 +1142,23 @@
|
@@ -838,24 +1142,32 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -727,10 +727,12 @@
|
|||||||
if (!file1.exists()) {
|
if (!file1.exists()) {
|
||||||
- File file2 = new File(file, entityhuman.getDisplayName().getString() + ".json");
|
- File file2 = new File(file, entityhuman.getDisplayName().getString() + ".json");
|
||||||
+ File file2 = new File(file, displayName + ".json"); // CraftBukkit
|
+ 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);
|
file2.renameTo(file1);
|
||||||
@@ -855,7 +1166,7 @@
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
serverstatisticmanager = new ServerStatisticManager(this.server, file1);
|
serverstatisticmanager = new ServerStatisticManager(this.server, file1);
|
||||||
@ -739,7 +741,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
return serverstatisticmanager;
|
return serverstatisticmanager;
|
||||||
@@ -863,14 +1174,14 @@
|
@@ -863,14 +1175,14 @@
|
||||||
|
|
||||||
public AdvancementDataPlayer f(EntityPlayer entityplayer) {
|
public AdvancementDataPlayer f(EntityPlayer entityplayer) {
|
||||||
UUID uuid = entityplayer.getUniqueID();
|
UUID uuid = entityplayer.getUniqueID();
|
||||||
@ -756,7 +758,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
advancementdataplayer.a(entityplayer);
|
advancementdataplayer.a(entityplayer);
|
||||||
@@ -906,13 +1217,20 @@
|
@@ -906,13 +1218,20 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
public void reload() {
|
public void reload() {
|
||||||
|
@ -181,7 +181,7 @@ public class Main {
|
|||||||
useConsole = false;
|
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);
|
Date buildDate = new Date(Integer.parseInt(Main.class.getPackage().getImplementationVendor()) * 1000L);
|
||||||
|
|
||||||
Calendar deadline = Calendar.getInstance();
|
Calendar deadline = Calendar.getInstance();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren