Add WorldName to blockstate location

This commit is contained in:
Spottedleaf 2019-06-17 17:41:53 -07:00 committed by GitHub
parent 7fc60e411a
commit 72894a6d54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}