Merge pull request #2200 from Spottedleaf/patch-1

Add world name to blockstate location if we fail to read it
Dieser Commit ist enthalten in:
kashike 2019-06-18 12:24:02 -07:00 committet von GitHub
Commit da401a6d10
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -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: world: " + block.getWorld().getName() + " location: (" + block.getX() + ", " + block.getY() + ", " + block.getZ() + ")", thr);
+ }
+ // Paper end
}