Repackage NMS

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2021-03-16 09:00:00 +11:00
parent 18496e998f
commit 9da047989c
968 changed files with 5448 additions and 5050 deletions

View File

@@ -1,6 +1,18 @@
--- a/net/minecraft/server/NameReferencingFileConverter.java
+++ b/net/minecraft/server/NameReferencingFileConverter.java
@@ -80,7 +80,7 @@
--- a/net/minecraft/server/players/NameReferencingFileConverter.java
+++ b/net/minecraft/server/players/NameReferencingFileConverter.java
@@ -27,6 +27,11 @@
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
+// CraftBukkit start
+import net.minecraft.nbt.NBTCompressedStreamTools;
+import net.minecraft.nbt.NBTTagCompound;
+// CraftBukkit end
+
public class NameReferencingFileConverter {
private static final Logger LOGGER = LogManager.getLogger();
@@ -85,7 +90,7 @@
try {
gameprofilebanlist.load();
} catch (IOException ioexception) {
@@ -9,7 +21,7 @@
}
}
@@ -138,7 +138,7 @@
@@ -143,7 +148,7 @@
try {
ipbanlist.load();
} catch (IOException ioexception) {
@@ -18,7 +30,7 @@
}
}
@@ -179,7 +179,7 @@
@@ -184,7 +189,7 @@
try {
oplist.load();
} catch (IOException ioexception) {
@@ -27,7 +39,7 @@
}
}
@@ -223,7 +223,7 @@
@@ -228,7 +233,7 @@
try {
whitelist.load();
} catch (IOException ioexception) {
@@ -36,7 +48,7 @@
}
}
@@ -346,6 +346,30 @@
@@ -351,6 +356,30 @@
File file5 = new File(file, s2 + ".dat");
File file6 = new File(file4, s3 + ".dat");