aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0828-Improve-logging-and-errors.patch
diff options
context:
space:
mode:
authorJake Potrebic <[email protected]>2024-04-06 18:52:05 -0700
committerJake Potrebic <[email protected]>2024-04-10 14:04:47 -0700
commitc1166f5d0d73723d8e7bad1a158a96a21835c5c2 (patch)
tree7af29e745260ce62664bfd2be7aaaf28c06eed60 /patches/server/0828-Improve-logging-and-errors.patch
parent5436d44bf2509ff89129f8790ee4643f09c72871 (diff)
downloadPaper-c1166f5d0d73723d8e7bad1a158a96a21835c5c2.tar.gz
Paper-c1166f5d0d73723d8e7bad1a158a96a21835c5c2.zip
Update patches to handle vineflower decompiler
Diffstat (limited to 'patches/server/0828-Improve-logging-and-errors.patch')
-rw-r--r--patches/server/0828-Improve-logging-and-errors.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0828-Improve-logging-and-errors.patch b/patches/server/0828-Improve-logging-and-errors.patch
index fe00d91a4b..2e809213c7 100644
--- a/patches/server/0828-Improve-logging-and-errors.patch
+++ b/patches/server/0828-Improve-logging-and-errors.patch
@@ -65,12 +65,12 @@ index b8f1549d1ea98a105577927a735bab331aff3840..45a68beff0c97ead5e9f1201b5fb9ef8
}
diff --git a/src/main/java/net/minecraft/server/packs/PathPackResources.java b/src/main/java/net/minecraft/server/packs/PathPackResources.java
-index 89aa86a49eda563c82ccedc99641e699f8e578b0..3edd14ce90edf98798b89921ad18547809de5d2c 100644
+index 84990b08c4f9f995dbaf63a7d32957051c73fd58..12fe10191533dc250018239433f378a59e338954 100644
--- a/src/main/java/net/minecraft/server/packs/PathPackResources.java
+++ b/src/main/java/net/minecraft/server/packs/PathPackResources.java
-@@ -108,6 +108,12 @@ public class PathPackResources extends AbstractPackResources {
+@@ -106,6 +106,12 @@ public class PathPackResources extends AbstractPackResources {
try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path)) {
- for(Path path2 : directoryStream) {
+ for (Path path2 : directoryStream) {
String string = path2.getFileName().toString();
+ // Paper start - Improve logging and errors
+ if (!Files.isDirectory(path2)) {