From c161caeb1747908754bdf8fa05112ccf001a1bd2 Mon Sep 17 00:00:00 2001 From: Peter Crawley <49043380+Peter-Crawley@users.noreply.github.com> Date: Mon, 16 May 2022 11:38:14 +0100 Subject: [PATCH] List world on tile entity placement exception (#7709) --- patches/server/Add-exception-reporting-event.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/patches/server/Add-exception-reporting-event.patch b/patches/server/Add-exception-reporting-event.patch index 8ec052a1dd..9e713bf0fc 100644 --- a/patches/server/Add-exception-reporting-event.patch +++ b/patches/server/Add-exception-reporting-event.patch @@ -167,7 +167,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + "Attempted to place a tile entity (" + blockEntity + ") at " + blockEntity.getBlockPos().getX() + "," + + blockEntity.getBlockPos().getY() + "," + blockEntity.getBlockPos().getZ() + + " (" + getBlockState(blockposition) + ") where there was no entity tile!\n" + -+ "Chunk coordinates: " + (this.chunkPos.x * 16) + "," + (this.chunkPos.z * 16)); ++ "Chunk coordinates: " + (this.chunkPos.x * 16) + "," + (this.chunkPos.z * 16) + ++ "\nWorld: " + level.getLevel().dimension().location()); + e.printStackTrace(); + ServerInternalException.reportInternalException(e); + // Paper end