From 72894a6d54ea8b691bea172c6defd3931fe6f909 Mon Sep 17 00:00:00 2001 From: Spottedleaf Date: Mon, 17 Jun 2019 17:41:53 -0700 Subject: [PATCH 1/2] Add WorldName to blockstate location --- .../0404-Show-blockstate-location-if-we-failed-to-read-it.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Spigot-Server-Patches/0404-Show-blockstate-location-if-we-failed-to-read-it.patch b/Spigot-Server-Patches/0404-Show-blockstate-location-if-we-failed-to-read-it.patch index d5a9ac5a2f..8b54945a6d 100644 --- a/Spigot-Server-Patches/0404-Show-blockstate-location-if-we-failed-to-read-it.patch +++ b/Spigot-Server-Patches/0404-Show-blockstate-location-if-we-failed-to-read-it.patch @@ -26,7 +26,7 @@ index 7cb4c3e503..a593882988 100644 + if (thr instanceof ThreadDeath) { + throw (ThreadDeath)thr; + } -+ throw new RuntimeException("Failed to read BlockState at location: (" + block.getX() + ", " + block.getY() + ", " + block.getZ() + ")", thr); ++ throw new RuntimeException("Failed to read BlockState at location: " + block.getWorld().getName() + " (" + block.getX() + ", " + block.getY() + ", " + block.getZ() + ")", thr); + } + // Paper end } From f3203b14d12fe1a0dd733fc8ec3313000fec6334 Mon Sep 17 00:00:00 2001 From: Spottedleaf Date: Mon, 17 Jun 2019 17:43:18 -0700 Subject: [PATCH 2/2] Better format --- .../0404-Show-blockstate-location-if-we-failed-to-read-it.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Spigot-Server-Patches/0404-Show-blockstate-location-if-we-failed-to-read-it.patch b/Spigot-Server-Patches/0404-Show-blockstate-location-if-we-failed-to-read-it.patch index 8b54945a6d..70153792bb 100644 --- a/Spigot-Server-Patches/0404-Show-blockstate-location-if-we-failed-to-read-it.patch +++ b/Spigot-Server-Patches/0404-Show-blockstate-location-if-we-failed-to-read-it.patch @@ -26,7 +26,7 @@ index 7cb4c3e503..a593882988 100644 + if (thr instanceof ThreadDeath) { + throw (ThreadDeath)thr; + } -+ throw new RuntimeException("Failed to read BlockState at location: " + block.getWorld().getName() + " (" + block.getX() + ", " + block.getY() + ", " + block.getZ() + ")", thr); ++ throw new RuntimeException("Failed to read BlockState at: world: " + block.getWorld().getName() + " location: (" + block.getX() + ", " + block.getY() + ", " + block.getZ() + ")", thr); + } + // Paper end }