mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 15:30:19 +01:00
rebase
This commit is contained in:
parent
ebbbfa4e37
commit
61ccf4bd87
2 changed files with 1 additions and 3 deletions
|
@ -321,8 +321,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
+
|
+
|
||||||
+ private static boolean anyListeners(final HandlerList handlers) {
|
+ private static boolean anyListeners(final HandlerList handlers) {
|
||||||
+ return handlers.getRegisteredListeners().length > 0;
|
+ 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
|
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
|
new file mode 100644
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
|
||||||
|
|
|
@ -73,7 +73,7 @@ if [ ! -d "$classdir" ]; then
|
||||||
mkdir -p "$classdir"
|
mkdir -p "$classdir"
|
||||||
cd "$classdir"
|
cd "$classdir"
|
||||||
set +e
|
set +e
|
||||||
jar xf "$decompiledir/$minecraftversion-mapped.jar" net/minecraft
|
jar xf "$decompiledir/$minecraftversion-mapped.jar" net/minecraft com/mojang/math
|
||||||
if [ "$?" != "0" ]; then
|
if [ "$?" != "0" ]; then
|
||||||
cd "$basedir"
|
cd "$basedir"
|
||||||
echo "Failed to extract NMS classes."
|
echo "Failed to extract NMS classes."
|
||||||
|
|
Loading…
Reference in a new issue