This commit is contained in:
Mariell Hoversholm 2021-03-17 10:20:38 +01:00
parent ebbbfa4e37
commit 61ccf4bd87
2 changed files with 1 additions and 3 deletions

View file

@ -321,8 +321,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+ private static boolean anyListeners(final HandlerList handlers) {
+ return handlers.getRegisteredListeners().length > 0;
+ }
+}
diff --git a/src/main/java/io/papermc/paper/adventure/DisplayNames.java b/src/main/java/io/papermc/paper/adventure/DisplayNames.java
new file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000

View file

@ -73,7 +73,7 @@ if [ ! -d "$classdir" ]; then
mkdir -p "$classdir"
cd "$classdir"
set +e
jar xf "$decompiledir/$minecraftversion-mapped.jar" net/minecraft
jar xf "$decompiledir/$minecraftversion-mapped.jar" net/minecraft com/mojang/math
if [ "$?" != "0" ]; then
cd "$basedir"
echo "Failed to extract NMS classes."