diff --git a/src/main/java/com/b1n_ry/yigd/block/entity/GraveBlockEntity.java b/src/main/java/com/b1n_ry/yigd/block/entity/GraveBlockEntity.java index 735da08..f5c0e8c 100644 --- a/src/main/java/com/b1n_ry/yigd/block/entity/GraveBlockEntity.java +++ b/src/main/java/com/b1n_ry/yigd/block/entity/GraveBlockEntity.java @@ -246,6 +246,8 @@ private void updatePosition(ServerLevel world, BlockPos pos) { ResolvableProfile owner = this.component.getOwner(); ServerPlayer player = owner.id().isPresent() ? playerManager.getPlayer(owner.id().get()) : playerManager.getPlayerByName(owner.name().orElse("PLAYER_NOT_FOUND")); if (player != null) { + Yigd.LOGGER.info("Grave belonging to {} resurfaced at X: {} / Y: {} / Z: {} / {}", this.component.getOwner().name().orElse("PLAYER_NOT_FOUND"), + this.worldPosition.getX(), this.worldPosition.getY(), this.worldPosition.getZ(), this.component.getWorldRegistryKey().location()); player.sendSystemMessage(Component.translatable("text.yigd.message.grave_relocated", pos.getX(), pos.getY(), pos.getZ(), world.dimension().location().toString())); } }