From 72894a6d54ea8b691bea172c6defd3931fe6f909 Mon Sep 17 00:00:00 2001 From: Spottedleaf Date: Mon, 17 Jun 2019 17:41:53 -0700 Subject: [PATCH] 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 d5a9ac5a2..8b54945a6 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 }